Results

By type

          mariadb 22:54:25.85 
mariadb 22:54:25.86 Welcome to the Bitnami mariadb-galera container
mariadb 22:54:25.87 Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-mariadb-galera
mariadb 22:54:25.87 Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-mariadb-galera/issues
mariadb 22:54:25.88 
mariadb 22:54:25.89 INFO  ==> ** Starting MariaDB setup **
mariadb 22:54:25.95 INFO  ==> Validating settings in MYSQL_*/MARIADB_* env vars
mariadb 22:54:26.11 INFO  ==> Initializing mariadb database
mariadb 22:54:26.12 DEBUG ==> Ensuring expected directories/files exist
mariadb 22:54:26.17 INFO  ==> Updating 'my.cnf' with custom configuration
mariadb 22:54:26.26 INFO  ==> Setting user option
mariadb 22:54:26.28 DEBUG ==> Setting user to 'my-user' in mariadb configuration file /opt/bitnami/mariadb/conf/my.cnf
mariadb 22:54:26.30 INFO  ==> Setting wsrep_node_name option
mariadb 22:54:26.32 DEBUG ==> Setting wsrep_node_name to 'dev-mariadb-galera-0' in mariadb configuration file /opt/bitnami/mariadb/conf/my.cnf
mariadb 22:54:26.34 INFO  ==> Setting wsrep_node_address option
mariadb 22:54:26.35 DEBUG ==> Setting wsrep_node_address to '10.242.1.78' in mariadb configuration file /opt/bitnami/mariadb/conf/my.cnf
mariadb 22:54:26.40 INFO  ==> Setting wsrep_sst_auth option
mariadb 22:54:26.42 DEBUG ==> Setting wsrep_sst_auth to 'mariabackup:AE39hEL5' in mariadb configuration file /opt/bitnami/mariadb/conf/my.cnf
mariadb 22:54:26.48 DEBUG ==> Cleaning data directory to ensure successfully initialization
Installing MariaDB/MySQL system tables in '/bitnami/mariadb/data' ...
2021-09-30 22:54:26 0 [Warning] WSREP: option --wsrep-causal-reads is deprecated
2021-09-30 22:54:26 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 dev-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 22:54:29.30 INFO  ==> Starting mariadb in background
2021-09-30 22:54:29 0 [Warning] WSREP: option --wsrep-causal-reads is deprecated
2021-09-30 22:54:29 0 [Warning] WSREP: --wsrep-causal-reads=ON takes precedence over --wsrep-sync-wait=0. WSREP_SYNC_WAIT_BEFORE_READ is on
2021-09-30 22:54:29 0 [Note] /opt/bitnami/mariadb/sbin/mysqld (mysqld 10.5.8-MariaDB-log) starting as process 161 ...
2021-09-30 22:54:29 0 [Note] WSREP: Loading provider /opt/bitnami/mariadb/lib/libgalera_smm.so initial position: 00000000-0000-0000-0000-000000000000:-1
2021-09-30 22:54:29 0 [Note] WSREP: wsrep_load(): loading provider library '/opt/bitnami/mariadb/lib/libgalera_smm.so'
2021-09-30 22:54:29 0 [Note] WSREP: wsrep_load(): Galera 4.7(rXXXX) by Codership Oy  loaded successfully.
2021-09-30 22:54:29 0 [Note] WSREP: CRC-32C: using 64-bit x86 acceleration.
2021-09-30 22:54:29 0 [Warning] WSREP: Could not open state file for reading: '/bitnami/mariadb/data//grastate.dat'
2021-09-30 22:54:29 0 [Note] WSREP: Found saved state: 00000000-0000-0000-0000-000000000000:-1, safe_to_bootstrap: 1
2021-09-30 22:54:29 0 [Note] WSREP: GCache DEBUG: opened preamble:
Version: 0
UUID: 00000000-0000-0000-0000-000000000000
Seqno: -1 - -1
Offset: -1
Synced: 0
2021-09-30 22:54:29 0 [Note] WSREP: Skipped GCache ring buffer recovery: could not determine history UUID.
2021-09-30 22:54:29 0 [Note] WSREP: Passing config to GCS: base_dir = /bitnami/mariadb/data/; base_host = 10.242.1.78; 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; p
2021-09-30 22:54:29 0 [Note] WSREP: Start replication
2021-09-30 22:54:29 0 [Note] WSREP: Connecting with bootstrap option: 1
2021-09-30 22:54:29 0 [Note] WSREP: Setting GCS initial position to 00000000-0000-0000-0000-000000000000:-1
2021-09-30 22:54:29 0 [Note] WSREP: protonet asio version 0
2021-09-30 22:54:29 0 [Note] WSREP: Using CRC-32C for message checksums.
2021-09-30 22:54:29 0 [Note] WSREP: backend: asio
2021-09-30 22:54:29 0 [Note] WSREP: gcomm thread scheduling priority set to other:0 
2021-09-30 22:54:29 0 [Warning] WSREP: access file(/bitnami/mariadb/data//gvwstate.dat) failed(No such file or directory)
2021-09-30 22:54:29 0 [Note] WSREP: restore pc from disk failed
2021-09-30 22:54:29 0 [Note] WSREP: GMCast version 0
2021-09-30 22:54:29 0 [Note] WSREP: (5e6c397a-bced, 'tcp://0.0.0.0:4567') listening at tcp://0.0.0.0:4567
2021-09-30 22:54:29 0 [Note] WSREP: (5e6c397a-bced, 'tcp://0.0.0.0:4567') multicast: , ttl: 1
2021-09-30 22:54:29 0 [Note] WSREP: EVS version 1
2021-09-30 22:54:29 0 [Note] WSREP: gcomm: bootstrapping new group 'galera'
2021-09-30 22:54:29 0 [Note] WSREP: start_prim is enabled, turn off pc_recovery
2021-09-30 22:54:29 0 [Note] WSREP: EVS version upgrade 0 -> 1
2021-09-30 22:54:29 0 [Note] WSREP: PC protocol upgrade 0 -> 1
2021-09-30 22:54:29 0 [Note] WSREP: Node 5e6c397a-bced state prim
2021-09-30 22:54:29 0 [Note] WSREP: view(view_id(PRIM,5e6c397a-bced,1) memb {
	5e6c397a-bced,0
} joined {
} left {
} partitioned {
})
2021-09-30 22:54:29 0 [Note] WSREP: save pc into disk
2021-09-30 22:54:29 0 [Note] WSREP: gcomm: connected
2021-09-30 22:54:29 0 [Note] WSREP: Changing maximum packet size to 64500, resulting msg size: 32636
2021-09-30 22:54:29 0 [Note] WSREP: Shifting CLOSED -> OPEN (TO: 0)
2021-09-30 22:54:29 0 [Note] WSREP: Opened channel 'galera'
2021-09-30 22:54:29 0 [Note] WSREP: New COMPONENT: primary = yes, bootstrap = no, my_idx = 0, memb_num = 1
2021-09-30 22:54:29 0 [Note] WSREP: Starting new group from scratch: 5e6d5a21-2241-11ec-a66c-a37e196683c9
2021-09-30 22:54:29 0 [Note] WSREP: STATE_EXCHANGE: sent state UUID: 5e6d5c89-2241-11ec-ba0c-ebb082eb3587
2021-09-30 22:54:29 0 [Note] WSREP: STATE EXCHANGE: sent state msg: 5e6d5c89-2241-11ec-ba0c-ebb082eb3587
2021-09-30 22:54:29 0 [Note] WSREP: STATE EXCHANGE: got state msg: 5e6d5c89-2241-11ec-ba0c-ebb082eb3587 from 0 (dev-mariadb-galera-0)
2021-09-30 22:54:29 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 = 5e6d5a21-2241-11ec-a66c-a37e196683c9
2021-09-30 22:54:29 1 [Note] WSREP: Starting rollbacker thread 1
2021-09-30 22:54:29 0 [Note] WSREP: Flow-control interval: [16, 16]
2021-09-30 22:54:29 0 [Note] WSREP: Restored state OPEN -> JOINED (1)
2021-09-30 22:54:29 2 [Note] WSREP: Starting applier thread 2
2021-09-30 22:54:29 0 [Note] WSREP: Member 0.0 (dev-mariadb-galera-0) synced with group.
2021-09-30 22:54:29 2 [Note] WSREP: ####### processing CC 1, local, ordered
2021-09-30 22:54:29 2 [Note] WSREP: Process first view: 5e6d5a21-2241-11ec-a66c-a37e196683c9 my uuid: 5e6c397a-2241-11ec-bced-a62284d8abf8
2021-09-30 22:54:29 2 [Note] WSREP: Server dev-mariadb-galera-0 connected to cluster at position 5e6d5a21-2241-11ec-a66c-a37e196683c9:1 with ID 5e6c397a-2241-11ec-bced-a62284d8abf8
2021-09-30 22:54:29 0 [Note] WSREP: Shifting JOINED -> SYNCED (TO: 1)
2021-09-30 22:54:29 2 [Note] WSREP: Server status change disconnected -> connected
2021-09-30 22:54:29 2 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-09-30 22:54:29 2 [Note] WSREP: ####### My UUID: 5e6c397a-2241-11ec-bced-a62284d8abf8
2021-09-30 22:54:29 2 [Note] WSREP: Cert index reset to 00000000-0000-0000-0000-000000000000:-1 (proto: 10), state transfer needed: no
2021-09-30 22:54:29 0 [Note] WSREP: Service thread queue flushed.
2021-09-30 22:54:29 2 [Note] WSREP: ####### Assign initial position for certification: 00000000-0000-0000-0000-000000000000:-1, protocol version: -1
2021-09-30 22:54:29 2 [Note] WSREP: REPL Protocols: 10 (5)
2021-09-30 22:54:29 2 [Note] WSREP: ####### Adjusting cert position: -1 -> 1
2021-09-30 22:54:29 0 [Note] WSREP: Service thread queue flushed.
2021-09-30 22:54:29 2 [Note] WSREP: GCache history reset: 00000000-0000-0000-0000-000000000000:0 -> 5e6d5a21-2241-11ec-a66c-a37e196683c9:0
2021-09-30 22:54:29 2 [Note] WSREP: ================================================
View:
  id: 5e6d5a21-2241-11ec-a66c-a37e196683c9: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: 5e6c397a-2241-11ec-bced-a62284d8abf8, dev-mariadb-galera-0
=================================================
2021-09-30 22:54:29 2 [Note] WSREP: Server status change connected -> joiner
2021-09-30 22:54:29 2 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-09-30 22:54:29 2 [Note] WSREP: Server status change joiner -> initializing
2021-09-30 22:54:29 2 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-09-30 22:54:29 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/
2021-09-30 22:54:29 0 [Warning] The parameter innodb_log_files_in_group is deprecated and has no effect.
2021-09-30 22:54:29 0 [Note] InnoDB: Using Linux native AIO
2021-09-30 22:54:29 0 [Note] InnoDB: Uses event mutexes
2021-09-30 22:54:29 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2021-09-30 22:54:29 0 [Note] InnoDB: Number of pools: 1
2021-09-30 22:54:29 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
2021-09-30 22:54:29 0 [Note] mysqld: O_TMPFILE is not supported on /opt/bitnami/mariadb/tmp (disabling future attempts)
2021-09-30 22:54:29 0 [Note] InnoDB: Initializing buffer pool, total size = 2147483648, chunk size = 134217728
2021-09-30 22:54:29 0 [Note] InnoDB: Completed initialization of buffer pool
2021-09-30 22:54:29 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2021-09-30 22:54:29 0 [Note] InnoDB: 128 rollback segments are active.
2021-09-30 22:54:29 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2021-09-30 22:54:29 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2021-09-30 22:54:29 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2021-09-30 22:54:29 0 [Note] InnoDB: 10.5.8 started; log sequence number 45118; transaction id 20
2021-09-30 22:54:29 0 [Note] Plugin 'FEEDBACK' is disabled.
2021-09-30 22:54:29 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
2021-09-30 22:54:29 0 [Note] InnoDB: Buffer pool(s) load completed at 210930 22:54:29
2021-09-30 22:54:29 0 [Note] Server socket created on IP: '127.0.0.1'.
2021-09-30 22:54:29 0 [Warning] 'user' entry 'root@dev-mariadb-galera-0' ignored in --skip-name-resolve mode.
2021-09-30 22:54:29 0 [Warning] 'user' entry '@dev-mariadb-galera-0' ignored in --skip-name-resolve mode.
2021-09-30 22:54:29 0 [Warning] 'proxies_priv' entry '@% root@dev-mariadb-galera-0' ignored in --skip-name-resolve mode.
2021-09-30 22:54:29 0 [Note] WSREP: wsrep_init_schema_and_SR 0x0
2021-09-30 22:54:29 0 [Note] WSREP: Server initialized
2021-09-30 22:54:29 0 [Note] WSREP: Server status change initializing -> initialized
2021-09-30 22:54:29 0 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-09-30 22:54:29 2 [Note] WSREP: Bootstrapping a new cluster, setting initial position to 00000000-0000-0000-0000-000000000000:-1
2021-09-30 22:54:29 6 [Note] WSREP: Starting applier thread 6
2021-09-30 22:54:29 7 [Note] WSREP: Starting applier thread 7
2021-09-30 22:54:29 9 [Note] WSREP: Starting applier thread 9
2021-09-30 22:54:29 5 [Note] WSREP: Cluster table is empty, not recovering transactions
2021-09-30 22:54:29 2 [Note] WSREP: Server status change initialized -> joined
2021-09-30 22:54:29 2 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-09-30 22:54:29 2 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-09-30 22:54:29 0 [Note] Reading of all Master_info entries succeeded
2021-09-30 22:54:29 0 [Note] Added new Master_info '' to hash table
2021-09-30 22:54:29 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
2021-09-30 22:54:29 2 [Note] WSREP: Lowest cert index boundary for CC from group: 1
2021-09-30 22:54:29 2 [Note] WSREP: Min available from gcache for CC from group: 1
2021-09-30 22:54:29 2 [Note] WSREP: Server dev-mariadb-galera-0 synced with group
2021-09-30 22:54:29 2 [Note] WSREP: Server status change joined -> synced
2021-09-30 22:54:29 2 [Note] WSREP: Synchronized with group, ready for connections
2021-09-30 22:54:29 2 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
mariadb 22:54:31.32 DEBUG ==> Sleeping 5 seconds before continuing with initialization
mariadb 22:54:36.33 DEBUG ==> Deleting all users to avoid issues with galera configuration
/opt/bitnami/scripts/libmariadbgalera.sh: line 1551: DB_ENABLE_SSL: unbound variable
mariadb 22:54:36.35 DEBUG ==> Executing SQL command:
DELETE FROM mysql.user WHERE user not in ('mysql.sys','mariadb.sys');
# Time: 210930 22:54:36
# User@Host: root[root] @ localhost []
# Thread_id: 11  Schema: mysql  QC_hit: No
# Query_time: 0.059530  Lock_time: 0.051208  Rows_sent: 0  Rows_examined: 7
# Rows_affected: 6  Bytes_sent: 11
use mysql;
SET timestamp=1633042476;
DELETE FROM mysql.user WHERE user not in ('mysql.sys','mariadb.sys');
mariadb 22:54:36.44 DEBUG ==> Configuring root user credentials
/opt/bitnami/scripts/libmariadbgalera.sh: line 1551: DB_ENABLE_SSL: unbound variable
mariadb 22:54:36.46 DEBUG ==> Executing SQL command:
-- create root@localhost user for local admin access
-- create user 'root'@'localhost' identified by "gdf33eoV";
-- grant all on *.* to 'root'@'localhost' with grant option;
-- create admin user for remote access
create user 'root'@'%' identified  by "gdf33eoV";
grant all on *.* to 'root'@'%' with grant option;
flush privileges;
2021-09-30 22:54:36 12 [Warning] 'proxies_priv' entry '@% root@dev-mariadb-galera-0' ignored in --skip-name-resolve mode.
mariadb 22:54:36.52 DEBUG ==> removing the unknown user
/opt/bitnami/scripts/libmariadbgalera.sh: line 1551: DB_ENABLE_SSL: unbound variable
mariadb 22:54:36.53 DEBUG ==> Executing SQL command:
select Host from user where User='';
# User@Host: root[root] @ localhost []
# Thread_id: 13  Schema: mysql  QC_hit: No
# Query_time: 0.001305  Lock_time: 0.000815  Rows_sent: 0  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 71
SET timestamp=1633042476;
select Host from user where User='';
mariadb 22:54:36.56 DEBUG ==> creating database user \'my-user\'
/opt/bitnami/scripts/libmariadbgalera.sh: line 1551: DB_ENABLE_SSL: unbound variable
mariadb 22:54:36.58 DEBUG ==> Executing SQL command:
create or replace user 'my-user'@'%' identified by "ArD64xBc";
mariadb 22:54:36.61 DEBUG ==> Removing all other hosts for the user
/opt/bitnami/scripts/libmariadbgalera.sh: line 1551: DB_ENABLE_SSL: unbound variable
mariadb 22:54:36.63 DEBUG ==> Executing SQL command:
select Host from user where User='my-user' and Host!='%';
mariadb 22:54:36.65 DEBUG ==> Configure mariabackup user credentials
/opt/bitnami/scripts/libmariadbgalera.sh: line 1551: DB_ENABLE_SSL: unbound variable
mariadb 22:54:36.66 DEBUG ==> Executing SQL command:
create or replace user 'mariabackup'@'localhost' identified by "AE39hEL5";
/opt/bitnami/scripts/libmariadbgalera.sh: line 1551: DB_ENABLE_SSL: unbound variable
mariadb 22:54:36.70 DEBUG ==> Executing SQL command:
grant RELOAD,PROCESS,LOCK TABLES,REPLICATION CLIENT on *.* to 'mariabackup'@'localhost';
flush privileges;
2021-09-30 22:54:36 17 [Warning] 'proxies_priv' entry '@% root@dev-mariadb-galera-0' ignored in --skip-name-resolve mode.
mariadb 22:54:36.74 DEBUG ==> Configure replication user
/opt/bitnami/scripts/libmariadbgalera.sh: line 1551: DB_ENABLE_SSL: unbound variable
mariadb 22:54:36.75 DEBUG ==> Executing SQL command:
grant REPLICATION CLIENT ON *.* to 'monitor'@'%' identified by "monitor";
grant PROCESS ON *.* to 'monitor'@'localhost' identified by "monitor";
flush privileges;
2021-09-30 22:54:36 18 [Warning] 'proxies_priv' entry '@% root@dev-mariadb-galera-0' ignored in --skip-name-resolve mode.
mariadb 22:54:36.82 DEBUG ==> Flushing privileges
/opt/bitnami/scripts/libmariadbgalera.sh: line 1551: DB_ENABLE_SSL: unbound variable
mariadb 22:54:36.83 DEBUG ==> Executing SQL command:
flush privileges;
2021-09-30 22:54:36 19 [Warning] 'proxies_priv' entry '@% root@dev-mariadb-galera-0' ignored in --skip-name-resolve mode.
mariadb 22:54:36.89 INFO  ==> Stopping mariadb
2021-09-30 22:54:36 0 [Note] /opt/bitnami/mariadb/sbin/mysqld (initiated by: unknown): Normal shutdown
2021-09-30 22:54:36 0 [Note] WSREP: Shutdown replication
2021-09-30 22:54:36 0 [Note] WSREP: Server status change synced -> disconnecting
2021-09-30 22:54:36 0 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-09-30 22:54:36 0 [Note] WSREP: Closing send monitor...
2021-09-30 22:54:36 0 [Note] WSREP: Closed send monitor.
2021-09-30 22:54:36 0 [Note] WSREP: gcomm: terminating thread
2021-09-30 22:54:36 0 [Note] WSREP: gcomm: joining thread
2021-09-30 22:54:36 0 [Note] WSREP: gcomm: closing backend
2021-09-30 22:54:36 0 [Note] WSREP: PC protocol downgrade 1 -> 0
2021-09-30 22:54:36 0 [Note] WSREP: view((empty))
2021-09-30 22:54:36 0 [Note] WSREP: gcomm: closed
2021-09-30 22:54:36 0 [Note] WSREP: New SELF-LEAVE.
2021-09-30 22:54:36 0 [Note] WSREP: Flow-control interval: [0, 0]
2021-09-30 22:54:36 0 [Note] WSREP: Received SELF-LEAVE. Closing connection.
2021-09-30 22:54:36 0 [Note] WSREP: Shifting SYNCED -> CLOSED (TO: 12)
2021-09-30 22:54:36 0 [Note] WSREP: RECV thread exiting 0: Success
2021-09-30 22:54:36 2 [Note] WSREP: ================================================
View:
  id: 5e6d5a21-2241-11ec-a66c-a37e196683c9: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):
=================================================
2021-09-30 22:54:36 2 [Note] WSREP: Non-primary view
2021-09-30 22:54:36 2 [Note] WSREP: Server status change disconnecting -> disconnected
2021-09-30 22:54:36 2 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-09-30 22:54:36 2 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-09-30 22:54:36 0 [Note] WSREP: recv_thread() joined.
2021-09-30 22:54:36 0 [Note] WSREP: Closing replication queue.
2021-09-30 22:54:36 0 [Note] WSREP: Closing slave action queue.
2021-09-30 22:54:36 2 [Note] WSREP: Applier thread exiting ret: 0 thd: 2
2021-09-30 22:54:36 2 [Warning] Aborted connection 2 to db: 'unconnected' user: 'unauthenticated' host: '' (This connection closed normally without authentication)
2021-09-30 22:54:36 6 [Note] WSREP: Applier thread exiting ret: 6 thd: 6
2021-09-30 22:54:36 9 [Note] WSREP: Applier thread exiting ret: 6 thd: 9
2021-09-30 22:54:36 6 [Warning] Aborted connection 6 to db: 'unconnected' user: 'unauthenticated' host: '' (This connection closed normally without authentication)
2021-09-30 22:54:36 7 [Note] WSREP: Applier thread exiting ret: 6 thd: 7
2021-09-30 22:54:36 9 [Warning] Aborted connection 9 to db: 'unconnected' user: 'unauthenticated' host: '' (This connection closed normally without authentication)
2021-09-30 22:54:36 7 [Warning] Aborted connection 7 to db: 'unconnected' user: 'unauthenticated' host: '' (This connection closed normally without authentication)
2021-09-30 22:54:36 1 [Note] WSREP: rollbacker thread exiting 1
2021-09-30 22:54:36 1 [Warning] Aborted connection 1 to db: 'unconnected' user: 'unauthenticated' host: '' (This connection closed normally without authentication)
2021-09-30 22:54:36 0 [Note] Event Scheduler: Purging the queue. 0 events
2021-09-30 22:54:36 0 [Note] WSREP: dtor state: CLOSED
2021-09-30 22:54:36 0 [Note] WSREP: MemPool(TrxHandleSlave): hit ratio: 0, misses: 11, in use: 11, in pool: 0
2021-09-30 22:54:36 0 [Note] WSREP: mon: entered 11 oooe fraction 0 oool fraction 0
2021-09-30 22:54:36 0 [Note] WSREP: mon: entered 11 oooe fraction 0 oool fraction 0
2021-09-30 22:54:36 0 [Note] WSREP: mon: entered 14 oooe fraction 0 oool fraction 0
2021-09-30 22:54:36 0 [Note] WSREP: cert index usage at exit 1
2021-09-30 22:54:36 0 [Note] WSREP: cert trx map usage at exit 11
2021-09-30 22:54:36 0 [Note] WSREP: deps set usage at exit 0
2021-09-30 22:54:36 0 [Note] WSREP: avg deps dist 1
2021-09-30 22:54:36 0 [Note] WSREP: avg cert interval 0
2021-09-30 22:54:36 0 [Note] WSREP: cert index size 1
2021-09-30 22:54:36 0 [Note] WSREP: Service thread queue flushed.
2021-09-30 22:54:36 0 [Note] WSREP: wsdb trx map usage 0 conn query map usage 0
2021-09-30 22:54:36 0 [Note] WSREP: MemPool(LocalTrxHandle): hit ratio: 0.909091, misses: 1, in use: 0, in pool: 1
2021-09-30 22:54:36 0 [Note] WSREP: Flushing memory map to disk...
2021-09-30 22:54:36 0 [Note] InnoDB: FTS optimize thread exiting.
2021-09-30 22:54:36 0 [Note] InnoDB: Starting shutdown...
2021-09-30 22:54:36 0 [Note] InnoDB: Dumping buffer pool(s) to /bitnami/mariadb/data/ib_buffer_pool
2021-09-30 22:54:36 0 [Note] InnoDB: Buffer pool(s) dump completed at 210930 22:54:36
2021-09-30 22:54:37 0 [Note] InnoDB: Shutdown completed; log sequence number 67995; transaction id 43
2021-09-30 22:54:37 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2021-09-30 22:54:37 0 [Note] /opt/bitnami/mariadb/sbin/mysqld: Shutdown complete


mariadb 22:54:38.91 INFO  ==> ** MariaDB setup finished! **
mariadb 22:54:39.00 INFO  ==> ** Starting MariaDB **
mariadb 22:54:39.01 INFO  ==> Setting previous boot
2021-09-30 22:54:39 0 [Warning] WSREP: option --wsrep-causal-reads is deprecated
2021-09-30 22:54:39 0 [Warning] WSREP: --wsrep-causal-reads=ON takes precedence over --wsrep-sync-wait=0. WSREP_SYNC_WAIT_BEFORE_READ is on
2021-09-30 22:54:39 0 [Note] /opt/bitnami/mariadb/sbin/mysqld (mysqld 10.5.8-MariaDB-log) starting as process 1 ...
2021-09-30 22:54:39 0 [Note] WSREP: Loading provider /opt/bitnami/mariadb/lib/libgalera_smm.so initial position: 00000000-0000-0000-0000-000000000000:-1
2021-09-30 22:54:39 0 [Note] WSREP: wsrep_load(): loading provider library '/opt/bitnami/mariadb/lib/libgalera_smm.so'
2021-09-30 22:54:39 0 [Note] WSREP: wsrep_load(): Galera 4.7(rXXXX) by Codership Oy  loaded successfully.
2021-09-30 22:54:39 0 [Note] WSREP: CRC-32C: using 64-bit x86 acceleration.
2021-09-30 22:54:39 0 [Note] WSREP: Found saved state: 5e6d5a21-2241-11ec-a66c-a37e196683c9:12, safe_to_bootstrap: 1
2021-09-30 22:54:39 0 [Note] WSREP: GCache DEBUG: opened preamble:
Version: 2
UUID: 5e6d5a21-2241-11ec-a66c-a37e196683c9
Seqno: 1 - 12
Offset: 1280
Synced: 1
2021-09-30 22:54:39 0 [Note] WSREP: Recovering GCache ring buffer: version: 2, UUID: 5e6d5a21-2241-11ec-a66c-a37e196683c9, offset: 1280
2021-09-30 22:54:39 0 [Note] WSREP: GCache::RingBuffer initial scan...  0.0% (        0/134217752 bytes) complete.
2021-09-30 22:54:39 0 [Note] WSREP: GCache::RingBuffer initial scan...100.0% (134217752/134217752 bytes) complete.
2021-09-30 22:54:39 0 [Note] WSREP: Recovering GCache ring buffer: found gapless sequence 1-12
2021-09-30 22:54:39 0 [Note] WSREP: GCache::RingBuffer unused buffers scan...  0.0% (   0/5840 bytes) complete.
2021-09-30 22:54:39 0 [Note] WSREP: GCache::RingBuffer unused buffers scan...100.0% (5840/5840 bytes) complete.
2021-09-30 22:54:39 0 [Note] WSREP: GCache DEBUG: RingBuffer::recover(): found 0/12 locked buffers
2021-09-30 22:54:39 0 [Note] WSREP: GCache DEBUG: RingBuffer::recover(): free space: 134211888/134217728
2021-09-30 22:54:39 0 [Note] WSREP: Passing config to GCS: base_dir = /bitnami/mariadb/data/; base_host = 10.242.1.78; 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; p
2021-09-30 22:54:39 0 [Note] WSREP: Service thread queue flushed.
2021-09-30 22:54:39 0 [Note] WSREP: ####### Assign initial position for certification: 5e6d5a21-2241-11ec-a66c-a37e196683c9:12, protocol version: -1
2021-09-30 22:54:39 0 [Note] WSREP: Start replication
2021-09-30 22:54:39 0 [Note] WSREP: Connecting with bootstrap option: 1
2021-09-30 22:54:39 0 [Note] WSREP: Setting GCS initial position to 5e6d5a21-2241-11ec-a66c-a37e196683c9:12
2021-09-30 22:54:39 0 [Note] WSREP: protonet asio version 0
2021-09-30 22:54:39 0 [Note] WSREP: Using CRC-32C for message checksums.
2021-09-30 22:54:39 0 [Note] WSREP: backend: asio
2021-09-30 22:54:39 0 [Note] WSREP: gcomm thread scheduling priority set to other:0 
2021-09-30 22:54:39 0 [Warning] WSREP: access file(/bitnami/mariadb/data//gvwstate.dat) failed(No such file or directory)
2021-09-30 22:54:39 0 [Note] WSREP: restore pc from disk failed
2021-09-30 22:54:39 0 [Note] WSREP: GMCast version 0
2021-09-30 22:54:39 0 [Note] WSREP: (64373769-9012, 'tcp://0.0.0.0:4567') listening at tcp://0.0.0.0:4567
2021-09-30 22:54:39 0 [Note] WSREP: (64373769-9012, 'tcp://0.0.0.0:4567') multicast: , ttl: 1
2021-09-30 22:54:39 0 [Note] WSREP: EVS version 1
2021-09-30 22:54:39 0 [Note] WSREP: gcomm: bootstrapping new group 'galera'
2021-09-30 22:54:39 0 [Note] WSREP: start_prim is enabled, turn off pc_recovery
2021-09-30 22:54:39 0 [Note] WSREP: EVS version upgrade 0 -> 1
2021-09-30 22:54:39 0 [Note] WSREP: PC protocol upgrade 0 -> 1
2021-09-30 22:54:39 0 [Note] WSREP: Node 64373769-9012 state prim
2021-09-30 22:54:39 0 [Note] WSREP: view(view_id(PRIM,64373769-9012,1) memb {
	64373769-9012,0
} joined {
} left {
} partitioned {
})
2021-09-30 22:54:39 0 [Note] WSREP: save pc into disk
2021-09-30 22:54:39 0 [Note] WSREP: gcomm: connected
2021-09-30 22:54:39 0 [Note] WSREP: Changing maximum packet size to 64500, resulting msg size: 32636
2021-09-30 22:54:39 0 [Note] WSREP: Shifting CLOSED -> OPEN (TO: 0)
2021-09-30 22:54:39 0 [Note] WSREP: Opened channel 'galera'
2021-09-30 22:54:39 0 [Note] WSREP: New COMPONENT: primary = yes, bootstrap = no, my_idx = 0, memb_num = 1
2021-09-30 22:54:39 0 [Note] WSREP: STATE_EXCHANGE: sent state UUID: 64390c26-2241-11ec-977c-3f43d0432c67
2021-09-30 22:54:39 0 [Note] WSREP: STATE EXCHANGE: sent state msg: 64390c26-2241-11ec-977c-3f43d0432c67
2021-09-30 22:54:39 0 [Note] WSREP: STATE EXCHANGE: got state msg: 64390c26-2241-11ec-977c-3f43d0432c67 from 0 (dev-mariadb-galera-0)
2021-09-30 22:54:39 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 = 5e6d5a21-2241-11ec-a66c-a37e196683c9
2021-09-30 22:54:39 1 [Note] WSREP: Starting rollbacker thread 1
2021-09-30 22:54:39 0 [Note] WSREP: Flow-control interval: [16, 16]
2021-09-30 22:54:39 0 [Note] WSREP: Restored state OPEN -> JOINED (13)
2021-09-30 22:54:39 0 [Note] WSREP: Member 0.0 (dev-mariadb-galera-0) synced with group.
2021-09-30 22:54:39 0 [Note] WSREP: Shifting JOINED -> SYNCED (TO: 13)
2021-09-30 22:54:39 2 [Note] WSREP: Starting applier thread 2
2021-09-30 22:54:39 2 [Note] WSREP: ####### processing CC 13, local, ordered
2021-09-30 22:54:39 2 [Note] WSREP: Process first view: 5e6d5a21-2241-11ec-a66c-a37e196683c9 my uuid: 64373769-2241-11ec-9012-2a10716d19d9
2021-09-30 22:54:39 2 [Note] WSREP: Server dev-mariadb-galera-0 connected to cluster at position 5e6d5a21-2241-11ec-a66c-a37e196683c9:13 with ID 64373769-2241-11ec-9012-2a10716d19d9
2021-09-30 22:54:39 2 [Note] WSREP: Server status change disconnected -> connected
2021-09-30 22:54:39 2 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-09-30 22:54:39 2 [Note] WSREP: ####### My UUID: 64373769-2241-11ec-9012-2a10716d19d9
2021-09-30 22:54:39 2 [Note] WSREP: Cert index reset to 00000000-0000-0000-0000-000000000000:-1 (proto: 10), state transfer needed: no
2021-09-30 22:54:39 0 [Note] WSREP: Service thread queue flushed.
2021-09-30 22:54:39 2 [Note] WSREP: ####### Assign initial position for certification: 00000000-0000-0000-0000-000000000000:-1, protocol version: -1
2021-09-30 22:54:39 2 [Note] WSREP: REPL Protocols: 10 (5)
2021-09-30 22:54:39 2 [Note] WSREP: ####### Adjusting cert position: -1 -> 13
2021-09-30 22:54:39 0 [Note] WSREP: Service thread queue flushed.
2021-09-30 22:54:39 2 [Note] WSREP: ================================================
View:
  id: 5e6d5a21-2241-11ec-a66c-a37e196683c9: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: 64373769-2241-11ec-9012-2a10716d19d9, dev-mariadb-galera-0
=================================================
2021-09-30 22:54:39 2 [Note] WSREP: Server status change connected -> joiner
2021-09-30 22:54:39 2 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-09-30 22:54:39 2 [Note] WSREP: Server status change joiner -> initializing
2021-09-30 22:54:39 2 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-09-30 22:54: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/
2021-09-30 22:54:39 0 [Warning] The parameter innodb_log_files_in_group is deprecated and has no effect.
2021-09-30 22:54:39 0 [Note] InnoDB: Using Linux native AIO
2021-09-30 22:54:39 0 [Note] InnoDB: Uses event mutexes
2021-09-30 22:54:39 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2021-09-30 22:54:39 0 [Note] InnoDB: Number of pools: 1
2021-09-30 22:54:39 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
2021-09-30 22:54:39 0 [Note] mysqld: O_TMPFILE is not supported on /opt/bitnami/mariadb/tmp (disabling future attempts)
2021-09-30 22:54:39 0 [Note] InnoDB: Initializing buffer pool, total size = 2147483648, chunk size = 134217728
2021-09-30 22:54:39 0 [Note] InnoDB: Completed initialization of buffer pool
2021-09-30 22:54:39 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2021-09-30 22:54:39 0 [Note] InnoDB: 128 rollback segments are active.
2021-09-30 22:54:39 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2021-09-30 22:54:39 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2021-09-30 22:54:39 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2021-09-30 22:54:39 0 [Note] InnoDB: 10.5.8 started; log sequence number 67995; transaction id 44
2021-09-30 22:54:39 0 [Note] Plugin 'FEEDBACK' is disabled.
2021-09-30 22:54:39 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
2021-09-30 22:54:39 0 [Note] InnoDB: Buffer pool(s) load completed at 210930 22:54:39
2021-09-30 22:54:39 0 [Note] Server socket created on IP: '0.0.0.0'.
2021-09-30 22:54:39 0 [Warning] 'proxies_priv' entry '@% root@dev-mariadb-galera-0' ignored in --skip-name-resolve mode.
2021-09-30 22:54:39 0 [Note] WSREP: wsrep_init_schema_and_SR 0x0
2021-09-30 22:54:39 0 [Note] WSREP: Server initialized
2021-09-30 22:54:39 0 [Note] WSREP: Server status change initializing -> initialized
2021-09-30 22:54:39 0 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-09-30 22:54:39 2 [Note] WSREP: Bootstrapping a new cluster, setting initial position to 00000000-0000-0000-0000-000000000000:-1
2021-09-30 22:54:39 7 [Note] WSREP: Starting applier thread 7
2021-09-30 22:54:39 6 [Note] WSREP: Starting applier thread 6
2021-09-30 22:54:39 8 [Note] WSREP: Starting applier thread 8
2021-09-30 22:54:39 5 [Note] WSREP: Recovered cluster id 5e6d5a21-2241-11ec-a66c-a37e196683c9
2021-09-30 22:54:39 0 [Note] Reading of all Master_info entries succeeded
2021-09-30 22:54:39 0 [Note] Added new Master_info '' to hash table
2021-09-30 22:54:39 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
2021-09-30 22:54:39 2 [Note] WSREP: Server status change initialized -> joined
2021-09-30 22:54:39 2 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-09-30 22:54:39 2 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-09-30 22:54:39 2 [Note] WSREP: Lowest cert index boundary for CC from group: 13
2021-09-30 22:54:39 2 [Note] WSREP: Min available from gcache for CC from group: 1
2021-09-30 22:54:39 2 [Note] WSREP: Server dev-mariadb-galera-0 synced with group
2021-09-30 22:54:39 2 [Note] WSREP: Server status change joined -> synced
2021-09-30 22:54:39 2 [Note] WSREP: Synchronized with group, ready for connections
2021-09-30 22:54:39 2 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
# Time: 210930 22:54:56
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 13  Schema:   QC_hit: No
# Query_time: 0.000346  Lock_time: 0.000220  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042496;
SELECT
		  page_size, compress_ops, 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.000228  Lock_time: 0.000159  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042496;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 22:55:06
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 16  Schema:   QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000156  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042506;
SELECT
		  page_size, compress_ops, 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.000183  Lock_time: 0.000114  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042506;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 22:55:16
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 19  Schema:   QC_hit: No
# Query_time: 0.000356  Lock_time: 0.000254  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042516;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 19  Schema:   QC_hit: No
# Query_time: 0.000239  Lock_time: 0.000182  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042516;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
2021-09-30 22:55:17 0 [Note] WSREP: (64373769-9012, 'tcp://0.0.0.0:4567') connection established to 7b3dbb4f-8e72 tcp://10.242.43.132:4567
2021-09-30 22:55:17 0 [Note] WSREP: (64373769-9012, 'tcp://0.0.0.0:4567') turning message relay requesting on, nonlive peers: 
2021-09-30 22:55:18 0 [Note] WSREP: declaring 7b3dbb4f-8e72 at tcp://10.242.43.132:4567 stable
2021-09-30 22:55:18 0 [Note] WSREP: Node 64373769-9012 state prim
2021-09-30 22:55:18 0 [Note] WSREP: view(view_id(PRIM,64373769-9012,2) memb {
	64373769-9012,0
	7b3dbb4f-8e72,0
} joined {
} left {
} partitioned {
})
2021-09-30 22:55:18 0 [Note] WSREP: save pc into disk
2021-09-30 22:55:18 0 [Note] WSREP: New COMPONENT: primary = yes, bootstrap = no, my_idx = 0, memb_num = 2
2021-09-30 22:55:18 0 [Note] WSREP: STATE_EXCHANGE: sent state UUID: 7b8e101e-2241-11ec-96a6-97ed284522ba
2021-09-30 22:55:18 0 [Note] WSREP: STATE EXCHANGE: sent state msg: 7b8e101e-2241-11ec-96a6-97ed284522ba
2021-09-30 22:55:18 0 [Note] WSREP: STATE EXCHANGE: got state msg: 7b8e101e-2241-11ec-96a6-97ed284522ba from 0 (dev-mariadb-galera-0)
2021-09-30 22:55:18 0 [Note] WSREP: STATE EXCHANGE: got state msg: 7b8e101e-2241-11ec-96a6-97ed284522ba from 1 (dev-mariadb-galera-1)
2021-09-30 22:55:18 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 = 5e6d5a21-2241-11ec-a66c-a37e196683c9
2021-09-30 22:55:18 0 [Note] WSREP: Flow-control interval: [23, 23]
2021-09-30 22:55:18 2 [Note] WSREP: ####### processing CC 14, local, ordered
2021-09-30 22:55:18 2 [Note] WSREP: ####### My UUID: 64373769-2241-11ec-9012-2a10716d19d9
2021-09-30 22:55:18 2 [Note] WSREP: Skipping cert index reset
2021-09-30 22:55:18 2 [Note] WSREP: REPL Protocols: 10 (5)
2021-09-30 22:55:18 2 [Note] WSREP: ####### Adjusting cert position: 13 -> 14
2021-09-30 22:55:18 0 [Note] WSREP: Service thread queue flushed.
2021-09-30 22:55:18 2 [Note] WSREP: ================================================
View:
  id: 5e6d5a21-2241-11ec-a66c-a37e196683c9: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: 64373769-2241-11ec-9012-2a10716d19d9, dev-mariadb-galera-0
	1: 7b3dbb4f-2241-11ec-8e72-468e5b54e48e, dev-mariadb-galera-1
=================================================
2021-09-30 22:55:18 2 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-09-30 22:55:18 2 [Note] WSREP: Lowest cert index boundary for CC from group: 14
2021-09-30 22:55:18 2 [Note] WSREP: Min available from gcache for CC from group: 1
# Time: 210930 22:55:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 21  Schema:   QC_hit: No
# Query_time: 0.494361  Lock_time: 0.494226  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042518;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 21  Schema:   QC_hit: No
# Query_time: 0.000231  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042518;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
2021-09-30 22:55:19 0 [Note] WSREP: Member 1.0 (dev-mariadb-galera-1) requested state transfer from '*any*'. Selected 0.0 (dev-mariadb-galera-0)(SYNCED) as donor.
2021-09-30 22:55:19 0 [Note] WSREP: Shifting SYNCED -> DONOR/DESYNCED (TO: 14)
2021-09-30 22:55:19 2 [Note] WSREP: Detected STR version: 1, req_len: 131, req: STRv1
2021-09-30 22:55:19 2 [Note] WSREP: Cert index preload: 14 -> 14
2021-09-30 22:55:19 2 [Note] WSREP: Server status change synced -> donor
2021-09-30 22:55:19 2 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-09-30 22:55:19 2 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-09-30 22:55:19 0 [Note] WSREP: async IST sender starting to serve tcp://10.242.43.132:4568 sending 14-14, preload starts from 14
2021-09-30 22:55:19 0 [Note] WSREP: Donor monitor thread started to monitor
2021-09-30 22:55:19 0 [Note] WSREP: Running: 'wsrep_sst_mariabackup --role 'donor' --address '10.242.43.132:4444/xtrabackup_sst//1' --socket '/opt/bitnami/mariadb/tmp/mysql.sock' --datadir '/bitnami/mariadb/data/' --defaults-file '/opt/bitnami/mariadb/conf/my.cnf' --gtid '5e6d5a21-2241-11ec-a66c-a37e196683c9: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'
2021-09-30 22:55:19 0 [Note] WSREP: IST sender 14 -> 14
2021-09-30 22:55:19 2 [Note] WSREP: sst_donor_thread signaled with 0
WSREP_SST: [INFO] Streaming with xbstream (20210930 22:55:20.418)
WSREP_SST: [INFO] Using socat as streamer (20210930 22:55:20.427)
WSREP_SST: [INFO] Using /tmp/tmp.iHCBiuAwCr as innobackupex temporary directory (20210930 22:55:20.458)
WSREP_SST: [INFO] Streaming GTID file before SST (20210930 22:55:20.470)
WSREP_SST: [INFO] Evaluating mbstream -c ${INFO_FILE} | socat -u stdio TCP:10.242.43.132:4444; RC=( ${PIPESTATUS[@]} ) (20210930 22:55:20.488)
WSREP_SST: [INFO] Sleeping before data transfer for SST (20210930 22:55:20.516)
2021-09-30 22:55:21 0 [Note] WSREP: (64373769-9012, 'tcp://0.0.0.0:4567') turning message relay requesting off
# Time: 210930 22:55:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 23  Schema:   QC_hit: No
# Query_time: 0.002363  Lock_time: 0.002261  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042525;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 23  Schema:   QC_hit: No
# Query_time: 0.000206  Lock_time: 0.000128  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042525;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 22:55:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 25  Schema:   QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000190  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042528;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 25  Schema:   QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000173  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042528;
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.242.43.132 4444 (20210930 22:55:30.532)
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.242.43.132:4444; RC=( ${PIPESTATUS[@]} ) (20210930 22:55:30.545)
# Time: 210930 22:55:30
# User@Host: mariabackup[mariabackup] @ localhost []
# Thread_id: 26  Schema:   QC_hit: No
# Query_time: 0.002902  Lock_time: 0.001553  Rows_sent: 0  Rows_examined: 71
# Rows_affected: 0  Bytes_sent: 227
SET timestamp=1633042530;
SELECT plugin_name, plugin_library, @@plugin_dir FROM information_schema.plugins WHERE plugin_type='ENCRYPTION' AND plugin_status='ACTIVE';
# Time: 210930 22:55:31
# User@Host: mariabackup[mariabackup] @ localhost []
# Thread_id: 26  Schema:   QC_hit: No
# Query_time: 0.001351  Lock_time: 0.000222  Rows_sent: 1  Rows_examined: 71
# Rows_affected: 0  Bytes_sent: 63
SET timestamp=1633042531;
SELECT COUNT(*) FROM information_schema.plugins WHERE plugin_name='rocksdb';
2021-09-30 22:55:33 0 [Note] WSREP: SST sent: 5e6d5a21-2241-11ec-a66c-a37e196683c9:14
2021-09-30 22:55:33 0 [Note] WSREP: Server status change donor -> joined
2021-09-30 22:55:33 0 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-09-30 22:55:33 0 [Note] WSREP: 0.0 (dev-mariadb-galera-0): State transfer to 1.0 (dev-mariadb-galera-1) complete.
2021-09-30 22:55:33 0 [Note] WSREP: Shifting DONOR/DESYNCED -> JOINED (TO: 14)
2021-09-30 22:55:33 0 [Note] WSREP: Member 0.0 (dev-mariadb-galera-0) synced with group.
2021-09-30 22:55:33 0 [Note] WSREP: Shifting JOINED -> SYNCED (TO: 14)
2021-09-30 22:55:33 6 [Note] WSREP: Server dev-mariadb-galera-0 synced with group
2021-09-30 22:55:33 6 [Note] WSREP: Server status change joined -> synced
2021-09-30 22:55:33 6 [Note] WSREP: Synchronized with group, ready for connections
2021-09-30 22:55:33 6 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
WSREP_SST: [INFO] Total time on donor: 0 seconds (20210930 22:55:33.221)
WSREP_SST: [INFO] Cleaning up temporary directories (20210930 22:55:33.237)
2021-09-30 22:55:33 0 [Note] WSREP: Donor monitor thread ended with total time 14 sec
# Time: 210930 22:55:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 28  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=1633042535;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 28  Schema:   QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000185  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042535;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2021-09-30 22:55:37 0 [Note] WSREP: async IST sender served
2021-09-30 22:55:37 0 [Note] WSREP: 1.0 (dev-mariadb-galera-1): State transfer from 0.0 (dev-mariadb-galera-0) complete.
2021-09-30 22:55:37 0 [Note] WSREP: Member 1.0 (dev-mariadb-galera-1) synced with group.
# Time: 210930 22:55:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 30  Schema:   QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000199  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042538;
SELECT
		  page_size, compress_ops, 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.000271  Lock_time: 0.000194  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042538;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 22:55:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 32  Schema:   QC_hit: No
# Query_time: 0.000347  Lock_time: 0.000216  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042545;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 32  Schema:   QC_hit: No
# Query_time: 0.000397  Lock_time: 0.000338  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042545;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 22:55:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 34  Schema:   QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000159  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042548;
SELECT
		  page_size, compress_ops, 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.000183  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042548;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 22:55:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 36  Schema:   QC_hit: No
# Query_time: 0.000358  Lock_time: 0.000258  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042555;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 36  Schema:   QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000161  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042555;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 22:55:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 38  Schema:   QC_hit: No
# Query_time: 0.000281  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042558;
SELECT
		  page_size, compress_ops, 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.000260  Lock_time: 0.000183  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042558;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 22:56:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 40  Schema:   QC_hit: No
# Query_time: 0.000221  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042565;
SELECT
		  page_size, compress_ops, 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.000211  Lock_time: 0.000136  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042565;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 22:56:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 42  Schema:   QC_hit: No
# Query_time: 0.000185  Lock_time: 0.000092  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042568;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 42  Schema:   QC_hit: No
# Query_time: 0.000167  Lock_time: 0.000103  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042568;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 22:56:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 44  Schema:   QC_hit: No
# Query_time: 0.000276  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042575;
SELECT
                  page_size, buffer_pool_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.000200  Lock_time: 0.000124  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042575;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 22:56:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 46  Schema:   QC_hit: No
# Query_time: 0.000269  Lock_time: 0.000154  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042578;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 46  Schema:   QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042578;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2021-09-30 22:56:21 0 [Note] WSREP: (64373769-9012, 'tcp://0.0.0.0:4567') connection established to a130dcf8-88de tcp://10.242.103.135:4567
2021-09-30 22:56:21 0 [Note] WSREP: (64373769-9012, 'tcp://0.0.0.0:4567') turning message relay requesting on, nonlive peers: 
2021-09-30 22:56:21 0 [Note] WSREP: declaring 7b3dbb4f-8e72 at tcp://10.242.43.132:4567 stable
2021-09-30 22:56:21 0 [Note] WSREP: declaring a130dcf8-88de at tcp://10.242.103.135:4567 stable
2021-09-30 22:56:21 0 [Note] WSREP: Node 64373769-9012 state prim
2021-09-30 22:56:21 0 [Note] WSREP: view(view_id(PRIM,64373769-9012,3) memb {
	64373769-9012,0
	7b3dbb4f-8e72,0
	a130dcf8-88de,0
} joined {
} left {
} partitioned {
})
2021-09-30 22:56:21 0 [Note] WSREP: save pc into disk
2021-09-30 22:56:21 0 [Note] WSREP: New COMPONENT: primary = yes, bootstrap = no, my_idx = 0, memb_num = 3
2021-09-30 22:56:21 0 [Note] WSREP: STATE_EXCHANGE: sent state UUID: a180b912-2241-11ec-be73-0b65868676ff
2021-09-30 22:56:21 0 [Note] WSREP: STATE EXCHANGE: sent state msg: a180b912-2241-11ec-be73-0b65868676ff
2021-09-30 22:56:21 0 [Note] WSREP: STATE EXCHANGE: got state msg: a180b912-2241-11ec-be73-0b65868676ff from 0 (dev-mariadb-galera-0)
2021-09-30 22:56:21 0 [Note] WSREP: STATE EXCHANGE: got state msg: a180b912-2241-11ec-be73-0b65868676ff from 1 (dev-mariadb-galera-1)
2021-09-30 22:56:22 0 [Note] WSREP: STATE EXCHANGE: got state msg: a180b912-2241-11ec-be73-0b65868676ff from 2 (dev-mariadb-galera-2)
2021-09-30 22:56:22 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 = 5e6d5a21-2241-11ec-a66c-a37e196683c9
2021-09-30 22:56:22 0 [Note] WSREP: Flow-control interval: [28, 28]
2021-09-30 22:56:22 8 [Note] WSREP: ####### processing CC 15, local, ordered
2021-09-30 22:56:22 8 [Note] WSREP: ####### My UUID: 64373769-2241-11ec-9012-2a10716d19d9
2021-09-30 22:56:22 8 [Note] WSREP: Skipping cert index reset
2021-09-30 22:56:22 8 [Note] WSREP: REPL Protocols: 10 (5)
2021-09-30 22:56:22 8 [Note] WSREP: ####### Adjusting cert position: 14 -> 15
2021-09-30 22:56:22 0 [Note] WSREP: Service thread queue flushed.
2021-09-30 22:56:22 8 [Note] WSREP: ================================================
View:
  id: 5e6d5a21-2241-11ec-a66c-a37e196683c9: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: 64373769-2241-11ec-9012-2a10716d19d9, dev-mariadb-galera-0
	1: 7b3dbb4f-2241-11ec-8e72-468e5b54e48e, dev-mariadb-galera-1
	2: a130dcf8-2241-11ec-88de-cf481066e9af, dev-mariadb-galera-2
=================================================
2021-09-30 22:56:22 8 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-09-30 22:56:22 8 [Note] WSREP: Lowest cert index boundary for CC from group: 15
2021-09-30 22:56:22 8 [Note] WSREP: Min available from gcache for CC from group: 1
2021-09-30 22:56:23 0 [Note] WSREP: Member 2.0 (dev-mariadb-galera-2) requested state transfer from '*any*'. Selected 0.0 (dev-mariadb-galera-0)(SYNCED) as donor.
2021-09-30 22:56:23 0 [Note] WSREP: Shifting SYNCED -> DONOR/DESYNCED (TO: 15)
2021-09-30 22:56:23 8 [Note] WSREP: Detected STR version: 1, req_len: 133, req: STRv1
2021-09-30 22:56:23 8 [Note] WSREP: Cert index preload: 15 -> 15
2021-09-30 22:56:23 8 [Note] WSREP: Server status change synced -> donor
2021-09-30 22:56:23 8 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-09-30 22:56:23 8 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-09-30 22:56:23 0 [Note] WSREP: async IST sender starting to serve tcp://10.242.103.135:4568 sending 15-15, preload starts from 15
2021-09-30 22:56:23 0 [Note] WSREP: Donor monitor thread started to monitor
2021-09-30 22:56:23 0 [Note] WSREP: Running: 'wsrep_sst_mariabackup --role 'donor' --address '10.242.103.135:4444/xtrabackup_sst//1' --socket '/opt/bitnami/mariadb/tmp/mysql.sock' --datadir '/bitnami/mariadb/data/' --defaults-file '/opt/bitnami/mariadb/conf/my.cnf' --gtid '5e6d5a21-2241-11ec-a66c-a37e196683c9: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'
2021-09-30 22:56:23 0 [Note] WSREP: IST sender 15 -> 15
2021-09-30 22:56:23 8 [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.2021.09.30-22.56.24.075814973 (20210930 22:56:24.092)
WSREP_SST: [INFO] Streaming with xbstream (20210930 22:56:24.116)
WSREP_SST: [INFO] Using socat as streamer (20210930 22:56:24.126)
WSREP_SST: [INFO] Using /tmp/tmp.dDsQnK4OME as innobackupex temporary directory (20210930 22:56:24.161)
WSREP_SST: [INFO] Streaming GTID file before SST (20210930 22:56:24.174)
WSREP_SST: [INFO] Evaluating mbstream -c ${INFO_FILE} | socat -u stdio TCP:10.242.103.135:4444; RC=( ${PIPESTATUS[@]} ) (20210930 22:56:24.197)
WSREP_SST: [INFO] Sleeping before data transfer for SST (20210930 22:56:24.224)
2021-09-30 22:56:24 0 [Note] WSREP: (64373769-9012, 'tcp://0.0.0.0:4567') turning message relay requesting off
# Time: 210930 22:56:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 48  Schema:   QC_hit: No
# Query_time: 0.000269  Lock_time: 0.000190  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042585;
SELECT
		  page_size, compress_ops, 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.000202  Lock_time: 0.000125  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042585;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 22:56:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 50  Schema:   QC_hit: No
# Query_time: 0.000326  Lock_time: 0.000225  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042588;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 50  Schema:   QC_hit: No
# Query_time: 0.000682  Lock_time: 0.000581  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042588;
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.242.103.135 4444 (20210930 22:56:34.241)
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.242.103.135:4444; RC=( ${PIPESTATUS[@]} ) (20210930 22:56:34.252)
# Time: 210930 22:56:34
# User@Host: mariabackup[mariabackup] @ localhost []
# Thread_id: 52  Schema:   QC_hit: No
# Query_time: 0.002924  Lock_time: 0.001579  Rows_sent: 0  Rows_examined: 71
# Rows_affected: 0  Bytes_sent: 227
SET timestamp=1633042594;
SELECT plugin_name, plugin_library, @@plugin_dir FROM information_schema.plugins WHERE plugin_type='ENCRYPTION' AND plugin_status='ACTIVE';
# Time: 210930 22:56:35
# User@Host: mariabackup[mariabackup] @ localhost []
# Thread_id: 52  Schema:   QC_hit: No
# Query_time: 0.000993  Lock_time: 0.000153  Rows_sent: 1  Rows_examined: 71
# Rows_affected: 0  Bytes_sent: 63
SET timestamp=1633042595;
SELECT COUNT(*) FROM information_schema.plugins WHERE plugin_name='rocksdb';
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 53  Schema:   QC_hit: No
# Query_time: 0.000217  Lock_time: 0.000119  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042595;
SELECT
		  page_size, compress_ops, 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.000148  Lock_time: 0.000096  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042595;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2021-09-30 22:56:36 0 [Note] WSREP: SST sent: 5e6d5a21-2241-11ec-a66c-a37e196683c9:15
2021-09-30 22:56:36 0 [Note] WSREP: Server status change donor -> joined
2021-09-30 22:56:36 0 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-09-30 22:56:36 0 [Note] WSREP: 0.0 (dev-mariadb-galera-0): State transfer to 2.0 (dev-mariadb-galera-2) complete.
2021-09-30 22:56:36 0 [Note] WSREP: Shifting DONOR/DESYNCED -> JOINED (TO: 15)
2021-09-30 22:56:36 0 [Note] WSREP: Member 0.0 (dev-mariadb-galera-0) synced with group.
2021-09-30 22:56:36 0 [Note] WSREP: Shifting JOINED -> SYNCED (TO: 15)
2021-09-30 22:56:36 6 [Note] WSREP: Server dev-mariadb-galera-0 synced with group
2021-09-30 22:56:36 6 [Note] WSREP: Server status change joined -> synced
2021-09-30 22:56:36 6 [Note] WSREP: Synchronized with group, ready for connections
2021-09-30 22:56:36 6 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
WSREP_SST: [INFO] Total time on donor: 0 seconds (20210930 22:56:36.904)
WSREP_SST: [INFO] Cleaning up temporary directories (20210930 22:56:36.920)
2021-09-30 22:56:36 0 [Note] WSREP: Donor monitor thread ended with total time 13 sec
# Time: 210930 22:56:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 55  Schema:   QC_hit: No
# Query_time: 0.000373  Lock_time: 0.000203  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042598;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 55  Schema:   QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000202  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042598;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
2021-09-30 22:56:40 0 [Note] WSREP: async IST sender served
2021-09-30 22:56:40 0 [Note] WSREP: 2.0 (dev-mariadb-galera-2): State transfer from 0.0 (dev-mariadb-galera-0) complete.
2021-09-30 22:56:40 0 [Note] WSREP: Member 2.0 (dev-mariadb-galera-2) synced with group.
# Time: 210930 22:56:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 57  Schema:   QC_hit: No
# Query_time: 0.000860  Lock_time: 0.000473  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042605;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 57  Schema:   QC_hit: No
# Query_time: 0.000198  Lock_time: 0.000124  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042605;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 22:56:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 59  Schema:   QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000213  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042608;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 59  Schema:   QC_hit: No
# Query_time: 0.000347  Lock_time: 0.000249  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042608;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 22:56:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 61  Schema:   QC_hit: No
# Query_time: 0.000440  Lock_time: 0.000355  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042615;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 61  Schema:   QC_hit: No
# Query_time: 0.000233  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042615;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 22:56:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 63  Schema:   QC_hit: No
# Query_time: 0.000296  Lock_time: 0.000208  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042618;
SELECT
		  page_size, compress_ops, 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.000195  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042618;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 22:57:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 65  Schema:   QC_hit: No
# Query_time: 0.000196  Lock_time: 0.000117  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042625;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 65  Schema:   QC_hit: No
# Query_time: 0.000152  Lock_time: 0.000095  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042625;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 22:57:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 67  Schema:   QC_hit: No
# Query_time: 0.000236  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042628;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 67  Schema:   QC_hit: No
# Query_time: 0.000194  Lock_time: 0.000119  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042628;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 22:57:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 72  Schema:   QC_hit: No
# Query_time: 0.000353  Lock_time: 0.000244  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042635;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 72  Schema:   QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000209  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042635;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 22:57:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 74  Schema:   QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000251  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042638;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 74  Schema:   QC_hit: No
# Query_time: 0.000429  Lock_time: 0.000306  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042638;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 22:57:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 76  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=1633042645;
SELECT
		  page_size, compress_ops, 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.000637  Lock_time: 0.000554  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042645;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 22:57:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 78  Schema:   QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000173  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042648;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 78  Schema:   QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000169  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042648;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 22:57:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 80  Schema:   QC_hit: No
# Query_time: 0.000332  Lock_time: 0.000245  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042655;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 80  Schema:   QC_hit: No
# Query_time: 0.000302  Lock_time: 0.000225  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042655;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 22:57:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 82  Schema:   QC_hit: No
# Query_time: 0.000377  Lock_time: 0.000240  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042658;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 82  Schema:   QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000142  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042658;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 22:57:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 84  Schema:   QC_hit: No
# Query_time: 0.000236  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042665;
SELECT
                  page_size, buffer_pool_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.000188  Lock_time: 0.000115  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042665;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 22:57:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 86  Schema:   QC_hit: No
# Query_time: 0.000233  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042668;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 86  Schema:   QC_hit: No
# Query_time: 0.000208  Lock_time: 0.000131  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042668;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 22:57:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 88  Schema:   QC_hit: No
# Query_time: 0.000717  Lock_time: 0.000392  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042675;
SELECT
		  page_size, compress_ops, 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.002162  Lock_time: 0.000368  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042675;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 22:57:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 90  Schema:   QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000173  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042678;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 90  Schema:   QC_hit: No
# Query_time: 0.000198  Lock_time: 0.000124  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042678;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 22:58:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 94  Schema:   QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000175  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042685;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 94  Schema:   QC_hit: No
# Query_time: 0.004008  Lock_time: 0.003949  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042685;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 22:58:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 96  Schema:   QC_hit: No
# Query_time: 0.000370  Lock_time: 0.000291  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042688;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 96  Schema:   QC_hit: No
# Query_time: 0.000316  Lock_time: 0.000245  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042688;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 22:58:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 100  Schema:   QC_hit: No
# Query_time: 0.000296  Lock_time: 0.000209  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042695;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 100  Schema:   QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000128  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042695;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 22:58:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 102  Schema:   QC_hit: No
# Query_time: 0.000401  Lock_time: 0.000272  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042698;
SELECT
		  page_size, compress_ops, 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.000288  Lock_time: 0.000194  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042698;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 22:58:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 104  Schema:   QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042705;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 104  Schema:   QC_hit: No
# Query_time: 0.000144  Lock_time: 0.000089  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042705;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 22:58:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 106  Schema:   QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000154  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042708;
SELECT
		  page_size, compress_ops, 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.000262  Lock_time: 0.000165  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042708;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 22:58:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 108  Schema:   QC_hit: No
# Query_time: 0.000236  Lock_time: 0.000150  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042715;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 108  Schema:   QC_hit: No
# Query_time: 0.000138  Lock_time: 0.000087  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042715;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 22:58:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 110  Schema:   QC_hit: No
# Query_time: 0.000203  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042718;
SELECT
		  page_size, compress_ops, 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.000166  Lock_time: 0.000105  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042718;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 22:58:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 112  Schema:   QC_hit: No
# Query_time: 0.000333  Lock_time: 0.000234  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042725;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 112  Schema:   QC_hit: No
# Query_time: 0.000205  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042725;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 22:58:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 114  Schema:   QC_hit: No
# Query_time: 0.000248  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042728;
SELECT
		  page_size, compress_ops, 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.000223  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042728;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 22:58:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 116  Schema:   QC_hit: No
# Query_time: 0.000244  Lock_time: 0.000130  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042735;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 116  Schema:   QC_hit: No
# Query_time: 0.000292  Lock_time: 0.000204  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042735;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 22:58:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 118  Schema:   QC_hit: No
# Query_time: 0.000320  Lock_time: 0.000206  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042738;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 118  Schema:   QC_hit: No
# Query_time: 0.000221  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042738;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 22:59:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 120  Schema:   QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042745;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 120  Schema:   QC_hit: No
# Query_time: 0.000153  Lock_time: 0.000094  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042745;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 22:59:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 122  Schema:   QC_hit: No
# Query_time: 0.000292  Lock_time: 0.000179  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042748;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 122  Schema:   QC_hit: No
# Query_time: 0.000230  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042748;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 22:59:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 124  Schema:   QC_hit: No
# Query_time: 0.000242  Lock_time: 0.000132  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042755;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 124  Schema:   QC_hit: No
# Query_time: 0.000187  Lock_time: 0.000124  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042755;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 22:59:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 126  Schema:   QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000157  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042758;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 126  Schema:   QC_hit: No
# Query_time: 0.000187  Lock_time: 0.000130  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042758;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 22:59:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 128  Schema:   QC_hit: No
# Query_time: 0.000512  Lock_time: 0.000271  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042765;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 128  Schema:   QC_hit: No
# Query_time: 0.000208  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042765;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 22:59:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 130  Schema:   QC_hit: No
# Query_time: 0.000241  Lock_time: 0.000170  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042768;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 130  Schema:   QC_hit: No
# Query_time: 0.000191  Lock_time: 0.000109  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042768;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 22:59:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 132  Schema:   QC_hit: No
# Query_time: 0.005969  Lock_time: 0.005814  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042775;
SELECT
		  page_size, compress_ops, 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.000166  Lock_time: 0.000114  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042775;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 22:59:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 134  Schema:   QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042778;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 134  Schema:   QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000184  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042778;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 22:59:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 136  Schema:   QC_hit: No
# Query_time: 0.000200  Lock_time: 0.000115  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042785;
SELECT
		  page_size, compress_ops, 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.000369  Lock_time: 0.000228  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042785;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 22:59:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 141  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=1633042788;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 141  Schema:   QC_hit: No
# Query_time: 0.000173  Lock_time: 0.000113  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042788;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 22:59:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 143  Schema:   QC_hit: No
# Query_time: 0.000400  Lock_time: 0.000214  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042795;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 143  Schema:   QC_hit: No
# Query_time: 0.000160  Lock_time: 0.000103  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042795;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 22:59:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 145  Schema:   QC_hit: No
# Query_time: 0.000200  Lock_time: 0.000125  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042798;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 145  Schema:   QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000168  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042798;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:00:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 147  Schema:   QC_hit: No
# Query_time: 0.003044  Lock_time: 0.002966  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042805;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 147  Schema:   QC_hit: No
# Query_time: 0.002043  Lock_time: 0.001996  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042805;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:00:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 149  Schema:   QC_hit: No
# Query_time: 0.000151  Lock_time: 0.000100  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042808;
SELECT
		  page_size, compress_ops, 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.000305  Lock_time: 0.000249  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042808;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:00:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 151  Schema:   QC_hit: No
# Query_time: 0.000224  Lock_time: 0.000158  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042815;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 151  Schema:   QC_hit: No
# Query_time: 0.000147  Lock_time: 0.000092  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042815;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:00:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 153  Schema:   QC_hit: No
# Query_time: 0.000215  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042818;
SELECT
		  page_size, compress_ops, 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.000178  Lock_time: 0.000108  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042818;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:00:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 155  Schema:   QC_hit: No
# Query_time: 0.002174  Lock_time: 0.002024  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042825;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 155  Schema:   QC_hit: No
# Query_time: 0.001888  Lock_time: 0.001823  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042825;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:00:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 157  Schema:   QC_hit: No
# Query_time: 0.000197  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042828;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 157  Schema:   QC_hit: No
# Query_time: 0.000159  Lock_time: 0.000108  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042828;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:00:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 159  Schema:   QC_hit: No
# Query_time: 0.000214  Lock_time: 0.000139  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042835;
SELECT
		  page_size, compress_ops, 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.000347  Lock_time: 0.000267  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042835;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:00:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 161  Schema:   QC_hit: No
# Query_time: 0.000353  Lock_time: 0.000231  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042838;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 161  Schema:   QC_hit: No
# Query_time: 0.000231  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042838;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:00:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 163  Schema:   QC_hit: No
# Query_time: 0.000228  Lock_time: 0.000161  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042845;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 163  Schema:   QC_hit: No
# Query_time: 0.000156  Lock_time: 0.000103  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042845;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:00:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 165  Schema:   QC_hit: No
# Query_time: 0.000380  Lock_time: 0.000243  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042848;
SELECT
                  page_size, buffer_pool_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.000235  Lock_time: 0.000192  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042848;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:00:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 167  Schema:   QC_hit: No
# Query_time: 0.000208  Lock_time: 0.000128  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042855;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 167  Schema:   QC_hit: No
# Query_time: 0.000185  Lock_time: 0.000120  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042855;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:00:57
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.009332  Lock_time: 0.000257  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
use etsicatalog;
SET timestamp=1633042857;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_migrations';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000657  Lock_time: 0.000124  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042857;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_migrations';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000892  Lock_time: 0.000144  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042857;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_migrations';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000944  Lock_time: 0.000127  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042857;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_migrations';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.010980  Lock_time: 0.000336  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042857;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_content_type';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.001022  Lock_time: 0.000186  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042857;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_content_type';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.001024  Lock_time: 0.000160  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042857;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_content_type';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000985  Lock_time: 0.000090  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042857;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_content_type';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.010049  Lock_time: 0.000214  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042857;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_permission';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000861  Lock_time: 0.000184  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042857;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_permission';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000915  Lock_time: 0.000337  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042857;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_permission';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000874  Lock_time: 0.000185  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042857;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_permission';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.008882  Lock_time: 0.000189  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042857;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_group';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000772  Lock_time: 0.000211  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042857;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_group';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.015471  Lock_time: 0.000201  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042857;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_group_permissions';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000862  Lock_time: 0.000177  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042857;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_group_permissions';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000838  Lock_time: 0.000115  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042857;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_group_permissions';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.008812  Lock_time: 0.000192  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042857;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000733  Lock_time: 0.000124  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042857;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000572  Lock_time: 0.000098  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042857;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000516  Lock_time: 0.000112  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042857;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.003899  Lock_time: 0.003173  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042857;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000587  Lock_time: 0.000124  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042857;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000581  Lock_time: 0.000085  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042857;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.002127  Lock_time: 0.001491  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042857;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000676  Lock_time: 0.000106  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042857;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000673  Lock_time: 0.000157  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042857;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000653  Lock_time: 0.000116  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042857;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.020441  Lock_time: 0.000183  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042857;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user_groups';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.005598  Lock_time: 0.004931  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042857;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user_groups';
# Time: 210930 23:00:58
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.001188  Lock_time: 0.000145  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042858;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user_groups';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.009135  Lock_time: 0.000169  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042858;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user_user_permissions';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000689  Lock_time: 0.000170  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042858;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user_user_permissions';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000466  Lock_time: 0.000086  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042858;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user_user_permissions';
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 170  Schema:   QC_hit: No
# Query_time: 0.001510  Lock_time: 0.001414  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042858;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 170  Schema:   QC_hit: No
# Query_time: 0.006820  Lock_time: 0.006752  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042858;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.010800  Lock_time: 0.000190  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042858;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_admin_log';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.001003  Lock_time: 0.000134  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042858;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_admin_log';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000695  Lock_time: 0.000093  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042858;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_admin_log';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000515  Lock_time: 0.000098  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042858;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_admin_log';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000700  Lock_time: 0.000089  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042858;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_admin_log';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000661  Lock_time: 0.000101  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042858;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_admin_log';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000646  Lock_time: 0.000094  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042858;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_admin_log';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000602  Lock_time: 0.000103  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042858;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_admin_log';
# Time: 210930 23:00:59
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.008716  Lock_time: 0.000128  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000738  Lock_time: 0.000104  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000731  Lock_time: 0.000127  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000598  Lock_time: 0.000104  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000692  Lock_time: 0.000099  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000700  Lock_time: 0.000119  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000614  Lock_time: 0.000098  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000617  Lock_time: 0.000090  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000587  Lock_time: 0.000094  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000607  Lock_time: 0.000095  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000572  Lock_time: 0.000096  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.007133  Lock_time: 0.000097  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB_STATUS';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000598  Lock_time: 0.000093  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB_STATUS';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000691  Lock_time: 0.000125  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB_STATUS';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000667  Lock_time: 0.000086  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB_STATUS';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000612  Lock_time: 0.000082  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB_STATUS';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000539  Lock_time: 0.000081  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB_STATUS';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000585  Lock_time: 0.000088  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB_STATUS';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000587  Lock_time: 0.000095  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB_STATUS';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.008029  Lock_time: 0.000113  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000573  Lock_time: 0.000089  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000670  Lock_time: 0.000086  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000674  Lock_time: 0.000083  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000535  Lock_time: 0.000086  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000545  Lock_time: 0.000103  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000616  Lock_time: 0.000091  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000616  Lock_time: 0.000081  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000574  Lock_time: 0.000095  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000541  Lock_time: 0.000089  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000608  Lock_time: 0.000084  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000640  Lock_time: 0.000101  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000611  Lock_time: 0.000120  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000679  Lock_time: 0.000082  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000622  Lock_time: 0.000090  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000603  Lock_time: 0.000096  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000664  Lock_time: 0.000084  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000642  Lock_time: 0.000103  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000628  Lock_time: 0.000085  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000565  Lock_time: 0.000080  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000700  Lock_time: 0.000107  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000564  Lock_time: 0.000088  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000970  Lock_time: 0.000116  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000588  Lock_time: 0.000082  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.007973  Lock_time: 0.000091  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000585  Lock_time: 0.000103  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000579  Lock_time: 0.000083  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000621  Lock_time: 0.000092  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000670  Lock_time: 0.000119  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000564  Lock_time: 0.000094  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000522  Lock_time: 0.000093  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000633  Lock_time: 0.000087  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000652  Lock_time: 0.000132  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000626  Lock_time: 0.000087  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000671  Lock_time: 0.000082  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000552  Lock_time: 0.000082  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000620  Lock_time: 0.000121  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000624  Lock_time: 0.000118  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000783  Lock_time: 0.000086  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000654  Lock_time: 0.000141  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000603  Lock_time: 0.000107  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.007247  Lock_time: 0.000127  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042859;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# Time: 210930 23:01:00
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000712  Lock_time: 0.000108  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000621  Lock_time: 0.000089  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000794  Lock_time: 0.000167  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000729  Lock_time: 0.000117  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000802  Lock_time: 0.000178  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000618  Lock_time: 0.000103  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000599  Lock_time: 0.000115  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000632  Lock_time: 0.000124  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000788  Lock_time: 0.000184  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000714  Lock_time: 0.000163  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000553  Lock_time: 0.000101  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000641  Lock_time: 0.000115  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000647  Lock_time: 0.000096  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000756  Lock_time: 0.000135  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000613  Lock_time: 0.000110  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.008916  Lock_time: 0.001397  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000650  Lock_time: 0.000094  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000721  Lock_time: 0.000094  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000785  Lock_time: 0.000089  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000853  Lock_time: 0.000100  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000839  Lock_time: 0.000095  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.001752  Lock_time: 0.000094  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.001136  Lock_time: 0.000231  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000581  Lock_time: 0.000115  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000680  Lock_time: 0.000104  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000654  Lock_time: 0.000111  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000853  Lock_time: 0.000118  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000918  Lock_time: 0.000115  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000652  Lock_time: 0.000109  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000745  Lock_time: 0.000115  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000624  Lock_time: 0.000088  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000719  Lock_time: 0.000097  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.009045  Lock_time: 0.000174  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SOFTWAREIMAGEMODEL';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000771  Lock_time: 0.000279  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SOFTWAREIMAGEMODEL';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000592  Lock_time: 0.000092  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SOFTWAREIMAGEMODEL';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000553  Lock_time: 0.000096  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SOFTWAREIMAGEMODEL';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000704  Lock_time: 0.000103  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SOFTWAREIMAGEMODEL';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000624  Lock_time: 0.000092  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SOFTWAREIMAGEMODEL';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000657  Lock_time: 0.000086  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SOFTWAREIMAGEMODEL';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000679  Lock_time: 0.000122  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SOFTWAREIMAGEMODEL';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000597  Lock_time: 0.000087  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SOFTWAREIMAGEMODEL';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000687  Lock_time: 0.000117  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SOFTWAREIMAGEMODEL';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.008626  Lock_time: 0.000104  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000617  Lock_time: 0.000106  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000653  Lock_time: 0.000113  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000651  Lock_time: 0.000128  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000646  Lock_time: 0.000128  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000600  Lock_time: 0.000110  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000701  Lock_time: 0.000166  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000734  Lock_time: 0.000132  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000715  Lock_time: 0.000131  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000896  Lock_time: 0.000150  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000997  Lock_time: 0.000242  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000930  Lock_time: 0.000186  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000755  Lock_time: 0.000201  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.001161  Lock_time: 0.000264  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000694  Lock_time: 0.000169  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000919  Lock_time: 0.000213  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.009556  Lock_time: 0.000253  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'VNF_PKG_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000972  Lock_time: 0.000220  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'VNF_PKG_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.001264  Lock_time: 0.000601  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'VNF_PKG_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.001036  Lock_time: 0.000209  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'VNF_PKG_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000846  Lock_time: 0.000132  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'VNF_PKG_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000740  Lock_time: 0.000104  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'VNF_PKG_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000739  Lock_time: 0.000136  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'VNF_PKG_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.001001  Lock_time: 0.000132  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'VNF_PKG_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000771  Lock_time: 0.000153  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'VNF_PKG_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000662  Lock_time: 0.000122  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'VNF_PKG_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.009230  Lock_time: 0.000133  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_session';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000627  Lock_time: 0.000102  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_session';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000755  Lock_time: 0.000108  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1633042860;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_session';
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000201  Lock_time: 0.000093  Rows_sent: 16  Rows_examined: 16
# Rows_affected: 0  Bytes_sent: 791
SET timestamp=1633042860;
SELECT `django_migrations`.`app`, `django_migrations`.`name` FROM `django_migrations`;
# User@Host: etsicatalog[etsicatalog] @  [10.242.68.17]
# Thread_id: 168  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000398  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 15
# Rows_affected: 0  Bytes_sent: 203
SET timestamp=1633042860;
SELECT `auth_permission`.`content_type_id`, `auth_permission`.`codename` FROM `auth_permission` INNER JOIN `django_content_type` ON (`auth_permission`.`content_type_id` = `django_content_type`.`id`) WHERE `auth_permission`.`content_type_id` IN (34, 37, 40, 43, 19, 22, 25, 28, 31) ORDER BY `django_content_type`.`app_label` ASC, `django_content_type`.`model` ASC, `auth_permission`.`codename` ASC;
# Time: 210930 23:01:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 172  Schema:   QC_hit: No
# Query_time: 0.000217  Lock_time: 0.000132  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042865;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 172  Schema:   QC_hit: No
# Query_time: 0.000188  Lock_time: 0.000093  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042865;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:01:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 174  Schema:   QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042868;
SELECT
		  page_size, compress_ops, 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.000217  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042868;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:01:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 176  Schema:   QC_hit: No
# Query_time: 0.000304  Lock_time: 0.000159  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042875;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 176  Schema:   QC_hit: No
# Query_time: 0.000174  Lock_time: 0.000107  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042875;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:01:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 178  Schema:   QC_hit: No
# Query_time: 0.000200  Lock_time: 0.000116  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042878;
SELECT
                  page_size, buffer_pool_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.000435  Lock_time: 0.000373  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042878;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:01:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 180  Schema:   QC_hit: No
# Query_time: 0.000233  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042885;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 180  Schema:   QC_hit: No
# Query_time: 0.000217  Lock_time: 0.000151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042885;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:01:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 182  Schema:   QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000214  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042888;
SELECT
		  page_size, compress_ops, 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.000139  Lock_time: 0.000088  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042888;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:01:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 184  Schema:   QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000161  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042895;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 184  Schema:   QC_hit: No
# Query_time: 0.000230  Lock_time: 0.000157  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042895;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:01:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 186  Schema:   QC_hit: No
# Query_time: 0.000227  Lock_time: 0.000170  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042898;
SELECT
		  page_size, compress_ops, 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.000176  Lock_time: 0.000123  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042898;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:01:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 188  Schema:   QC_hit: No
# Query_time: 0.000391  Lock_time: 0.000281  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042905;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 188  Schema:   QC_hit: No
# Query_time: 0.000179  Lock_time: 0.000118  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042905;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:01:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 190  Schema:   QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042908;
SELECT
                  page_size, buffer_pool_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.000168  Lock_time: 0.000104  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042908;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:01:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 192  Schema:   QC_hit: No
# Query_time: 0.000191  Lock_time: 0.000100  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042915;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 192  Schema:   QC_hit: No
# Query_time: 0.000174  Lock_time: 0.000095  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042915;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:01:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 194  Schema:   QC_hit: No
# Query_time: 0.000192  Lock_time: 0.000124  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042918;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 194  Schema:   QC_hit: No
# Query_time: 0.000173  Lock_time: 0.000097  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042918;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:02:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 196  Schema:   QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000196  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042925;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 196  Schema:   QC_hit: No
# Query_time: 0.000169  Lock_time: 0.000108  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042925;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:02:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 198  Schema:   QC_hit: No
# Query_time: 0.000250  Lock_time: 0.000174  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042928;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 198  Schema:   QC_hit: No
# Query_time: 0.000162  Lock_time: 0.000101  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042928;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:02:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 200  Schema:   QC_hit: No
# Query_time: 0.000203  Lock_time: 0.000100  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042935;
SELECT
		  page_size, compress_ops, 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.000147  Lock_time: 0.000092  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042935;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:02:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 202  Schema:   QC_hit: No
# Query_time: 0.000346  Lock_time: 0.000221  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042938;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 202  Schema:   QC_hit: No
# Query_time: 0.000233  Lock_time: 0.000167  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042938;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:02:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 204  Schema:   QC_hit: No
# Query_time: 0.000334  Lock_time: 0.000251  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042945;
SELECT
		  page_size, compress_ops, 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.000232  Lock_time: 0.000157  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042945;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:02:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 206  Schema:   QC_hit: No
# Query_time: 0.000928  Lock_time: 0.000830  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042948;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 206  Schema:   QC_hit: No
# Query_time: 0.000332  Lock_time: 0.000229  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042948;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2021-09-30 23:02:30 7 [Warning] 'proxies_priv' entry '@% root@dev-mariadb-galera-0' ignored in --skip-name-resolve mode.
# Time: 210930 23:02:34
# User@Host: nenguser[nenguser] @  [10.242.220.164]
# Thread_id: 207  Schema: nengdb  QC_hit: No
# Query_time: 0.010864  Lock_time: 0.010705  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 56
use nengdb;
SET timestamp=1633042954;
SELECT COUNT(*) FROM nengdb.DATABASECHANGELOGLOCK;
# User@Host: nenguser[nenguser] @  [10.242.220.164]
# Thread_id: 207  Schema: nengdb  QC_hit: No
# Query_time: 0.000117  Lock_time: 0.000064  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1633042954;
DELETE FROM nengdb.DATABASECHANGELOGLOCK;
# Time: 210930 23:02:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 209  Schema:   QC_hit: No
# Query_time: 0.005236  Lock_time: 0.005161  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042955;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 209  Schema:   QC_hit: No
# Query_time: 0.000270  Lock_time: 0.000222  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042955;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: nenguser[nenguser] @  [10.242.220.164]
# Thread_id: 207  Schema: nengdb  QC_hit: No
# Query_time: 0.001635  Lock_time: 0.000421  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 514
SET timestamp=1633042955;
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 = 'nengdb') AND TABLE_NAME = 'DATABASECHANGELOG'  AND TABLE_TYPE IN ('BASE TABLE','SYSTEM VERSIONED') ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# Time: 210930 23:02:36
# User@Host: nenguser[nenguser] @  [10.242.220.164]
# Thread_id: 207  Schema: nengdb  QC_hit: No
# Query_time: 0.012054  Lock_time: 0.011927  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 56
SET timestamp=1633042956;
SELECT COUNT(*) FROM nengdb.DATABASECHANGELOG;
# User@Host: nenguser[nenguser] @  [10.242.220.164]
# Thread_id: 207  Schema: nengdb  QC_hit: No
# Query_time: 0.000164  Lock_time: 0.000049  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1166
SET timestamp=1633042956;
SELECT * FROM nengdb.DATABASECHANGELOG ORDER BY DATEEXECUTED ASC, ORDEREXECUTED ASC;
# User@Host: nenguser[nenguser] @  [10.242.220.164]
# Thread_id: 207  Schema: nengdb  QC_hit: No
# Query_time: 0.000342  Lock_time: 0.000260  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 56
SET timestamp=1633042956;
SELECT COUNT(*) FROM nengdb.DATABASECHANGELOGLOCK;
# User@Host: nenguser[nenguser] @  [10.242.220.164]
# Thread_id: 207  Schema: nengdb  QC_hit: No
# Query_time: 0.011036  Lock_time: 0.010886  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 65
SET timestamp=1633042956;
SELECT MAX(ORDEREXECUTED) FROM nengdb.DATABASECHANGELOG;
# User@Host: nenguser[nenguser] @  [10.242.220.164]
# Thread_id: 207  Schema: nengdb  QC_hit: No
# Query_time: 0.001544  Lock_time: 0.001492  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1633042956;
delete from SERVICE_PARAMETER;
# User@Host: nenguser[nenguser] @  [10.242.220.164]
# Thread_id: 207  Schema: nengdb  QC_hit: No
# Query_time: 0.002169  Lock_time: 0.002122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1633042956;
delete from IDENTIFIER_MAP;
# User@Host: nenguser[nenguser] @  [10.242.220.164]
# Thread_id: 207  Schema: nengdb  QC_hit: No
# Query_time: 0.009825  Lock_time: 0.009754  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1633042956;
delete from EXTERNAL_INTERFACE;
# User@Host: nenguser[nenguser] @  [10.242.220.164]
# Thread_id: 207  Schema: nengdb  QC_hit: No
# Query_time: 0.000171  Lock_time: 0.000076  Rows_sent: 0  Rows_examined: 4
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1633042956;
delete from IDENTIFIER_MAP where POLICY_FN_NAME='UUID';
# User@Host: nenguser[nenguser] @  [10.242.220.164]
# Thread_id: 207  Schema: nengdb  QC_hit: No
# Query_time: 0.000074  Lock_time: 0.000030  Rows_sent: 0  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1633042956;
delete from IDENTIFIER_MAP where POLICY_FN_NAME='TIMESTAMP';
# User@Host: nenguser[nenguser] @  [10.242.220.164]
# Thread_id: 207  Schema: nengdb  QC_hit: No
# Query_time: 0.000171  Lock_time: 0.000070  Rows_sent: 0  Rows_examined: 6
# Rows_affected: 1  Bytes_sent: 11
SET timestamp=1633042956;
delete from IDENTIFIER_MAP where POLICY_FN_NAME='UUID';
# User@Host: nenguser[nenguser] @  [10.242.220.164]
# Thread_id: 207  Schema: nengdb  QC_hit: No
# Query_time: 0.000104  Lock_time: 0.000033  Rows_sent: 0  Rows_examined: 6
# Rows_affected: 1  Bytes_sent: 11
SET timestamp=1633042956;
delete from IDENTIFIER_MAP where POLICY_FN_NAME='TIMESTAMP';
# Time: 210930 23:02:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 211  Schema:   QC_hit: No
# Query_time: 0.000413  Lock_time: 0.000322  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042958;
SELECT
		  page_size, compress_ops, 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.023036  Lock_time: 0.022955  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042958;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:02:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 257  Schema:   QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042965;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 257  Schema:   QC_hit: No
# Query_time: 0.000170  Lock_time: 0.000110  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042965;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:02:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 259  Schema:   QC_hit: No
# Query_time: 0.000199  Lock_time: 0.000128  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042968;
SELECT
                  page_size, buffer_pool_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.000169  Lock_time: 0.000114  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042968;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:02:53
# User@Host: ejbca[ejbca] @  [10.242.220.136]
# Thread_id: 217  Schema: ejbca  QC_hit: No
# Query_time: 0.000604  Lock_time: 0.000364  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 157
use ejbca;
SET timestamp=1633042973;
select cadata0_.cAId as col_0_0_, cadata0_.name as col_1_0_ from CAData cadata0_;
# User@Host: ejbca[ejbca] @  [10.242.220.136]
# Thread_id: 217  Schema: ejbca  QC_hit: No
# Query_time: 0.002342  Lock_time: 0.002139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 91
SET timestamp=1633042973;
select internalke0_.id as col_0_0_ from InternalKeyBindingData internalke0_ where internalke0_.keyBindingType='OcspKeyBinding';
# Time: 210930 23:02:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 261  Schema:   QC_hit: No
# Query_time: 0.000375  Lock_time: 0.000245  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042975;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 261  Schema:   QC_hit: No
# Query_time: 0.000251  Lock_time: 0.000158  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042975;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:02:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 263  Schema:   QC_hit: No
# Query_time: 0.000214  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042978;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 263  Schema:   QC_hit: No
# Query_time: 0.000192  Lock_time: 0.000121  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042978;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:03:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 265  Schema:   QC_hit: No
# Query_time: 0.000310  Lock_time: 0.000228  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042985;
SELECT
		  page_size, compress_ops, 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.000286  Lock_time: 0.000212  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042985;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:03:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 267  Schema:   QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000171  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042988;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 267  Schema:   QC_hit: No
# Query_time: 0.000157  Lock_time: 0.000093  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042988;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:03:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 269  Schema:   QC_hit: No
# Query_time: 0.000195  Lock_time: 0.000109  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042995;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 269  Schema:   QC_hit: No
# Query_time: 0.000151  Lock_time: 0.000107  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042995;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:03:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 271  Schema:   QC_hit: No
# Query_time: 0.000327  Lock_time: 0.000226  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633042998;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 271  Schema:   QC_hit: No
# Query_time: 0.000269  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633042998;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:03:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 273  Schema:   QC_hit: No
# Query_time: 0.000368  Lock_time: 0.000216  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043005;
SELECT
                  page_size, buffer_pool_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.000246  Lock_time: 0.000164  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043005;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:03:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 275  Schema:   QC_hit: No
# Query_time: 0.000303  Lock_time: 0.000222  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043008;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 275  Schema:   QC_hit: No
# Query_time: 0.000305  Lock_time: 0.000233  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043008;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:03:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 277  Schema:   QC_hit: No
# Query_time: 0.000496  Lock_time: 0.000394  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043015;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 277  Schema:   QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000196  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043015;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:03:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 279  Schema:   QC_hit: No
# Query_time: 0.000438  Lock_time: 0.000296  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043018;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 279  Schema:   QC_hit: No
# Query_time: 0.000358  Lock_time: 0.000274  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043018;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:03:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 281  Schema:   QC_hit: No
# Query_time: 0.000334  Lock_time: 0.000227  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043025;
SELECT
                  page_size, buffer_pool_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.000191  Lock_time: 0.000127  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043025;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:03:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 283  Schema:   QC_hit: No
# Query_time: 0.000252  Lock_time: 0.000137  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043028;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 283  Schema:   QC_hit: No
# Query_time: 0.000221  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043028;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:03:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 285  Schema:   QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000170  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043035;
SELECT
		  page_size, compress_ops, 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.000219  Lock_time: 0.000157  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043035;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:03:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 287  Schema:   QC_hit: No
# Query_time: 0.000532  Lock_time: 0.000265  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043038;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 287  Schema:   QC_hit: No
# Query_time: 0.000182  Lock_time: 0.000094  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043038;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:04:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 289  Schema:   QC_hit: No
# Query_time: 0.000211  Lock_time: 0.000120  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043045;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 289  Schema:   QC_hit: No
# Query_time: 0.000169  Lock_time: 0.000112  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043045;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:04:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 291  Schema:   QC_hit: No
# Query_time: 0.000269  Lock_time: 0.000185  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043048;
SELECT
		  page_size, compress_ops, 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.000163  Lock_time: 0.000102  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043048;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:04:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 293  Schema:   QC_hit: No
# Query_time: 0.000348  Lock_time: 0.000241  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043055;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 293  Schema:   QC_hit: No
# Query_time: 0.000174  Lock_time: 0.000127  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043055;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:04:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 295  Schema:   QC_hit: No
# Query_time: 0.000296  Lock_time: 0.000247  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043058;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 295  Schema:   QC_hit: No
# Query_time: 0.000208  Lock_time: 0.000167  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043058;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:04:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 297  Schema:   QC_hit: No
# Query_time: 0.000184  Lock_time: 0.000114  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043065;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 297  Schema:   QC_hit: No
# Query_time: 0.000137  Lock_time: 0.000091  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043065;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:04:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 299  Schema:   QC_hit: No
# Query_time: 0.000331  Lock_time: 0.000215  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043068;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 299  Schema:   QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000185  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043068;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:04:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 301  Schema:   QC_hit: No
# Query_time: 0.000342  Lock_time: 0.000207  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043075;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 301  Schema:   QC_hit: No
# Query_time: 0.000184  Lock_time: 0.000104  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043075;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:04:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 303  Schema:   QC_hit: No
# Query_time: 0.000209  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043078;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 303  Schema:   QC_hit: No
# Query_time: 0.000175  Lock_time: 0.000101  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043078;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:04:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 305  Schema:   QC_hit: No
# Query_time: 0.000313  Lock_time: 0.000230  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043085;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 305  Schema:   QC_hit: No
# Query_time: 0.000195  Lock_time: 0.000124  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043085;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:04:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 307  Schema:   QC_hit: No
# Query_time: 0.000326  Lock_time: 0.000217  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043088;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 307  Schema:   QC_hit: No
# Query_time: 0.000340  Lock_time: 0.000226  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043088;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:04:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 309  Schema:   QC_hit: No
# Query_time: 0.000382  Lock_time: 0.000276  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043095;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 309  Schema:   QC_hit: No
# Query_time: 0.000363  Lock_time: 0.000294  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043095;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:04:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 311  Schema:   QC_hit: No
# Query_time: 0.000381  Lock_time: 0.000257  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043098;
SELECT
		  page_size, compress_ops, 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.000260  Lock_time: 0.000181  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043098;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:05:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 313  Schema:   QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000236  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043105;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 313  Schema:   QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000210  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043105;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:05:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 315  Schema:   QC_hit: No
# Query_time: 0.000889  Lock_time: 0.000508  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043108;
SELECT
		  page_size, compress_ops, 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.000277  Lock_time: 0.000199  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043108;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:05:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 317  Schema:   QC_hit: No
# Query_time: 0.000307  Lock_time: 0.000205  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043115;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 317  Schema:   QC_hit: No
# Query_time: 0.001701  Lock_time: 0.001591  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043115;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:05:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 319  Schema:   QC_hit: No
# Query_time: 0.000368  Lock_time: 0.000254  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043118;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 319  Schema:   QC_hit: No
# Query_time: 0.000217  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043118;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:05:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 321  Schema:   QC_hit: No
# Query_time: 0.000193  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043125;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 321  Schema:   QC_hit: No
# Query_time: 0.000127  Lock_time: 0.000079  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043125;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:05:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 323  Schema:   QC_hit: No
# Query_time: 0.000320  Lock_time: 0.000203  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043128;
SELECT
		  page_size, compress_ops, 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.000276  Lock_time: 0.000188  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043128;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:05:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 325  Schema:   QC_hit: No
# Query_time: 0.000413  Lock_time: 0.000254  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043135;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 325  Schema:   QC_hit: No
# Query_time: 0.002939  Lock_time: 0.002837  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043135;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:05:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 327  Schema:   QC_hit: No
# Query_time: 0.000219  Lock_time: 0.000155  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043138;
SELECT
		  page_size, compress_ops, 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.000136  Lock_time: 0.000086  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043138;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:05:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 329  Schema:   QC_hit: No
# Query_time: 0.000191  Lock_time: 0.000118  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043145;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 329  Schema:   QC_hit: No
# Query_time: 0.000131  Lock_time: 0.000078  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043145;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:05:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 331  Schema:   QC_hit: No
# Query_time: 0.000193  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043148;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 331  Schema:   QC_hit: No
# Query_time: 0.000159  Lock_time: 0.000089  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043148;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:05:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 333  Schema:   QC_hit: No
# Query_time: 0.000141  Lock_time: 0.000075  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043155;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 333  Schema:   QC_hit: No
# Query_time: 0.000116  Lock_time: 0.000069  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043155;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:05:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 335  Schema:   QC_hit: No
# Query_time: 0.000176  Lock_time: 0.000091  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043158;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 335  Schema:   QC_hit: No
# Query_time: 0.000121  Lock_time: 0.000082  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043158;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:06:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 337  Schema:   QC_hit: No
# Query_time: 0.000407  Lock_time: 0.000258  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043165;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 337  Schema:   QC_hit: No
# Query_time: 0.000159  Lock_time: 0.000105  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043165;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:06:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 339  Schema:   QC_hit: No
# Query_time: 0.000165  Lock_time: 0.000101  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043168;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 339  Schema:   QC_hit: No
# Query_time: 0.000127  Lock_time: 0.000080  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043168;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:06:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 341  Schema:   QC_hit: No
# Query_time: 0.000368  Lock_time: 0.000195  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043175;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 341  Schema:   QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000157  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043175;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:06:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 343  Schema:   QC_hit: No
# Query_time: 0.000190  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043178;
SELECT
		  page_size, compress_ops, 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.000189  Lock_time: 0.000128  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043178;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:06:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 345  Schema:   QC_hit: No
# Query_time: 0.000208  Lock_time: 0.000142  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043185;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 345  Schema:   QC_hit: No
# Query_time: 0.000166  Lock_time: 0.000110  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043185;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:06:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 347  Schema:   QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000163  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043188;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 347  Schema:   QC_hit: No
# Query_time: 0.000343  Lock_time: 0.000268  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043188;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:06:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 349  Schema:   QC_hit: No
# Query_time: 0.000389  Lock_time: 0.000305  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043195;
SELECT
                  page_size, buffer_pool_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.000228  Lock_time: 0.000157  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043195;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:06:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 351  Schema:   QC_hit: No
# Query_time: 0.000406  Lock_time: 0.000261  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043198;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 351  Schema:   QC_hit: No
# Query_time: 0.000305  Lock_time: 0.000210  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043198;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:06:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 353  Schema:   QC_hit: No
# Query_time: 0.000324  Lock_time: 0.000215  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043205;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 353  Schema:   QC_hit: No
# Query_time: 0.000201  Lock_time: 0.000139  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043205;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:06:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 355  Schema:   QC_hit: No
# Query_time: 0.000540  Lock_time: 0.000459  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043208;
SELECT
		  page_size, compress_ops, 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.000226  Lock_time: 0.000153  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043208;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:06:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 357  Schema:   QC_hit: No
# Query_time: 0.000336  Lock_time: 0.000220  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043215;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 357  Schema:   QC_hit: No
# Query_time: 0.000278  Lock_time: 0.000202  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043215;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:06:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 359  Schema:   QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043218;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 359  Schema:   QC_hit: No
# Query_time: 0.000180  Lock_time: 0.000111  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043218;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:07:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 361  Schema:   QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043225;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 361  Schema:   QC_hit: No
# Query_time: 0.000250  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043225;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:07:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 363  Schema:   QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000190  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043228;
SELECT
		  page_size, compress_ops, 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.000179  Lock_time: 0.000118  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043228;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:07:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 369  Schema:   QC_hit: No
# Query_time: 0.000296  Lock_time: 0.000199  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043235;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 369  Schema:   QC_hit: No
# Query_time: 0.000221  Lock_time: 0.000168  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043235;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:07:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 371  Schema:   QC_hit: No
# Query_time: 0.000364  Lock_time: 0.000217  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043238;
SELECT
                  page_size, buffer_pool_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.000229  Lock_time: 0.000151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043238;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:07:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 373  Schema:   QC_hit: No
# Query_time: 0.000229  Lock_time: 0.000150  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043245;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 373  Schema:   QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000200  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043245;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:07:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 375  Schema:   QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000213  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043248;
SELECT
		  page_size, compress_ops, 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.000218  Lock_time: 0.000164  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043248;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:07:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 377  Schema:   QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000169  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043255;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 377  Schema:   QC_hit: No
# Query_time: 0.000228  Lock_time: 0.000179  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043255;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:07:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 379  Schema:   QC_hit: No
# Query_time: 0.000188  Lock_time: 0.000121  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043258;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 379  Schema:   QC_hit: No
# Query_time: 0.000151  Lock_time: 0.000089  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043258;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:07:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 381  Schema:   QC_hit: No
# Query_time: 0.000180  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043265;
SELECT
                  page_size, buffer_pool_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.000157  Lock_time: 0.000089  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043265;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:07:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 383  Schema:   QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000157  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043268;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 383  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=1633043268;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:07:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 385  Schema:   QC_hit: No
# Query_time: 0.000217  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043275;
SELECT
		  page_size, compress_ops, 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.000134  Lock_time: 0.000084  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043275;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:07:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 387  Schema:   QC_hit: No
# Query_time: 0.000217  Lock_time: 0.000132  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043278;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 387  Schema:   QC_hit: No
# Query_time: 0.000172  Lock_time: 0.000104  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043278;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:08:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 389  Schema:   QC_hit: No
# Query_time: 0.000223  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043285;
SELECT
		  page_size, compress_ops, 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.000260  Lock_time: 0.000184  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043285;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:08:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 391  Schema:   QC_hit: No
# Query_time: 0.000187  Lock_time: 0.000101  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043288;
SELECT
		  page_size, compress_ops, 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.000132  Lock_time: 0.000073  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043288;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:08:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 393  Schema:   QC_hit: No
# Query_time: 0.000376  Lock_time: 0.000230  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043295;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 393  Schema:   QC_hit: No
# Query_time: 0.000166  Lock_time: 0.000107  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043295;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:08:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 395  Schema:   QC_hit: No
# Query_time: 0.000302  Lock_time: 0.000183  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043298;
SELECT
		  page_size, compress_ops, 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.000231  Lock_time: 0.000155  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043298;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:08:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 397  Schema:   QC_hit: No
# Query_time: 0.000410  Lock_time: 0.000247  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043305;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 397  Schema:   QC_hit: No
# Query_time: 0.000172  Lock_time: 0.000112  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043305;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:08:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 399  Schema:   QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000137  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043308;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 399  Schema:   QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043308;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:08:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 401  Schema:   QC_hit: No
# Query_time: 0.000294  Lock_time: 0.000212  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043315;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 401  Schema:   QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000203  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043315;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:08:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 403  Schema:   QC_hit: No
# Query_time: 0.000589  Lock_time: 0.000501  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043318;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 403  Schema:   QC_hit: No
# Query_time: 0.000257  Lock_time: 0.000205  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043318;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:08:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 405  Schema:   QC_hit: No
# Query_time: 0.000627  Lock_time: 0.000542  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043325;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 405  Schema:   QC_hit: No
# Query_time: 0.000155  Lock_time: 0.000090  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043325;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:08:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 407  Schema:   QC_hit: No
# Query_time: 0.000822  Lock_time: 0.000422  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043328;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 407  Schema:   QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000164  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043328;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:08:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 409  Schema:   QC_hit: No
# Query_time: 0.000591  Lock_time: 0.000479  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043335;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 409  Schema:   QC_hit: No
# Query_time: 0.000224  Lock_time: 0.000150  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043335;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:08:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 411  Schema:   QC_hit: No
# Query_time: 0.000291  Lock_time: 0.000183  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043338;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 411  Schema:   QC_hit: No
# Query_time: 0.000214  Lock_time: 0.000136  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043338;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:09:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 413  Schema:   QC_hit: No
# Query_time: 0.000169  Lock_time: 0.000109  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043345;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 413  Schema:   QC_hit: No
# Query_time: 0.000133  Lock_time: 0.000083  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043345;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:09:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 415  Schema:   QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000167  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043348;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 415  Schema:   QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000186  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043348;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:09:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 417  Schema:   QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000236  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043355;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 417  Schema:   QC_hit: No
# Query_time: 0.000275  Lock_time: 0.000187  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043355;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:09:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 419  Schema:   QC_hit: No
# Query_time: 0.000388  Lock_time: 0.000192  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043358;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 419  Schema:   QC_hit: No
# Query_time: 0.000496  Lock_time: 0.000417  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043358;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:09:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 421  Schema:   QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000183  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043365;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 421  Schema:   QC_hit: No
# Query_time: 0.000198  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043365;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:09:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 423  Schema:   QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000178  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043368;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 423  Schema:   QC_hit: No
# Query_time: 0.000766  Lock_time: 0.000696  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043368;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:09:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 425  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=1633043375;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 425  Schema:   QC_hit: No
# Query_time: 0.000192  Lock_time: 0.000125  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043375;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:09:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 427  Schema:   QC_hit: No
# Query_time: 0.000207  Lock_time: 0.000131  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043378;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 427  Schema:   QC_hit: No
# Query_time: 0.000181  Lock_time: 0.000113  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043378;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:09:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 429  Schema:   QC_hit: No
# Query_time: 0.000251  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043385;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 429  Schema:   QC_hit: No
# Query_time: 0.000205  Lock_time: 0.000130  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043385;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:09:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 431  Schema:   QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000166  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043388;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 431  Schema:   QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043388;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:09:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 433  Schema:   QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043395;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 433  Schema:   QC_hit: No
# Query_time: 0.000190  Lock_time: 0.000117  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043395;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:09:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 435  Schema:   QC_hit: No
# Query_time: 0.000258  Lock_time: 0.000139  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043398;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 435  Schema:   QC_hit: No
# Query_time: 0.001996  Lock_time: 0.001933  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043398;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:10:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 437  Schema:   QC_hit: No
# Query_time: 0.000375  Lock_time: 0.000232  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043405;
SELECT
		  page_size, compress_ops, 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.000175  Lock_time: 0.000117  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043405;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:10:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 439  Schema:   QC_hit: No
# Query_time: 0.000291  Lock_time: 0.000166  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043408;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 439  Schema:   QC_hit: No
# Query_time: 0.000487  Lock_time: 0.000339  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043408;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:10:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 441  Schema:   QC_hit: No
# Query_time: 0.000919  Lock_time: 0.000843  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043415;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 441  Schema:   QC_hit: No
# Query_time: 0.000194  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043415;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:10:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 443  Schema:   QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043418;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 443  Schema:   QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000156  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043418;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:10:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 445  Schema:   QC_hit: No
# Query_time: 0.000173  Lock_time: 0.000116  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043425;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 445  Schema:   QC_hit: No
# Query_time: 0.000122  Lock_time: 0.000079  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043425;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:10:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 447  Schema:   QC_hit: No
# Query_time: 0.000331  Lock_time: 0.000217  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043428;
SELECT
		  page_size, compress_ops, 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.000255  Lock_time: 0.000182  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043428;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:10:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 449  Schema:   QC_hit: No
# Query_time: 0.000228  Lock_time: 0.000173  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043435;
SELECT
		  page_size, compress_ops, 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.000271  Lock_time: 0.000221  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043435;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:10:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 451  Schema:   QC_hit: No
# Query_time: 0.001200  Lock_time: 0.001130  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043438;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 451  Schema:   QC_hit: No
# Query_time: 0.000210  Lock_time: 0.000101  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043438;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:10:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 453  Schema:   QC_hit: No
# Query_time: 0.000242  Lock_time: 0.000153  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043445;
SELECT
                  page_size, buffer_pool_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.000141  Lock_time: 0.000093  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043445;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:10:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 455  Schema:   QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000177  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043448;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 455  Schema:   QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043448;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:10:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 457  Schema:   QC_hit: No
# Query_time: 0.000197  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043455;
SELECT
                  page_size, buffer_pool_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.000218  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043455;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:10:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 459  Schema:   QC_hit: No
# Query_time: 0.000294  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043458;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 459  Schema:   QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000176  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043458;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:11:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 461  Schema:   QC_hit: No
# Query_time: 0.000324  Lock_time: 0.000188  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043465;
SELECT
		  page_size, compress_ops, 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.000630  Lock_time: 0.000562  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043465;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:11:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 463  Schema:   QC_hit: No
# Query_time: 0.000242  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043468;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 463  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=1633043468;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:11:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 465  Schema:   QC_hit: No
# Query_time: 0.000164  Lock_time: 0.000110  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043475;
SELECT
		  page_size, compress_ops, 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.000202  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043475;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:11:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 467  Schema:   QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000175  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043478;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 467  Schema:   QC_hit: No
# Query_time: 0.000141  Lock_time: 0.000099  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043478;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:11:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 469  Schema:   QC_hit: No
# Query_time: 0.000214  Lock_time: 0.000117  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043485;
SELECT
		  page_size, compress_ops, 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.000239  Lock_time: 0.000159  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043485;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:11:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 471  Schema:   QC_hit: No
# Query_time: 0.002740  Lock_time: 0.002625  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043488;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 471  Schema:   QC_hit: No
# Query_time: 0.000173  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043488;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:11:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 473  Schema:   QC_hit: No
# Query_time: 0.000491  Lock_time: 0.000350  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043495;
SELECT
		  page_size, compress_ops, 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.000266  Lock_time: 0.000212  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043495;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:11:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 475  Schema:   QC_hit: No
# Query_time: 0.000252  Lock_time: 0.000167  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043498;
SELECT
		  page_size, compress_ops, 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.000255  Lock_time: 0.000123  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043498;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:11:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 479  Schema:   QC_hit: No
# Query_time: 0.001587  Lock_time: 0.001467  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043505;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 479  Schema:   QC_hit: No
# Query_time: 0.000229  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043505;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:11:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 481  Schema:   QC_hit: No
# Query_time: 0.002562  Lock_time: 0.002448  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043508;
SELECT
		  page_size, compress_ops, 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.000201  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043508;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:11:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 483  Schema:   QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000205  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043515;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 483  Schema:   QC_hit: No
# Query_time: 0.000323  Lock_time: 0.000186  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043515;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:11:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 485  Schema:   QC_hit: No
# Query_time: 0.000251  Lock_time: 0.000185  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043518;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 485  Schema:   QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043518;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:12:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 487  Schema:   QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000199  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043525;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 487  Schema:   QC_hit: No
# Query_time: 0.000186  Lock_time: 0.000130  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043525;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:12:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 489  Schema:   QC_hit: No
# Query_time: 0.000331  Lock_time: 0.000231  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043528;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 489  Schema:   QC_hit: No
# Query_time: 0.000214  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043528;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:12:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 491  Schema:   QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000158  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043535;
SELECT
		  page_size, compress_ops, 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.000188  Lock_time: 0.000124  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043535;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:12:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 493  Schema:   QC_hit: No
# Query_time: 0.000186  Lock_time: 0.000116  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043538;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 493  Schema:   QC_hit: No
# Query_time: 0.000170  Lock_time: 0.000104  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043538;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:12:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 495  Schema:   QC_hit: No
# Query_time: 0.000187  Lock_time: 0.000117  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043545;
SELECT
		  page_size, compress_ops, 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.000158  Lock_time: 0.000106  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043545;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:12:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 497  Schema:   QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000155  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043548;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 497  Schema:   QC_hit: No
# Query_time: 0.000180  Lock_time: 0.000119  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043548;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:12:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 499  Schema:   QC_hit: No
# Query_time: 0.000749  Lock_time: 0.000375  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043555;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 499  Schema:   QC_hit: No
# Query_time: 0.001135  Lock_time: 0.001058  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043555;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:12:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 501  Schema:   QC_hit: No
# Query_time: 0.000208  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043558;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 501  Schema:   QC_hit: No
# Query_time: 0.000217  Lock_time: 0.000121  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043558;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:12:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 503  Schema:   QC_hit: No
# Query_time: 0.000256  Lock_time: 0.000149  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043565;
SELECT
		  page_size, compress_ops, 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.000179  Lock_time: 0.000115  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043565;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:12:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 505  Schema:   QC_hit: No
# Query_time: 0.001820  Lock_time: 0.001699  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043568;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 505  Schema:   QC_hit: No
# Query_time: 0.000318  Lock_time: 0.000239  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043568;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:12:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 507  Schema:   QC_hit: No
# Query_time: 0.000281  Lock_time: 0.000187  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043575;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 507  Schema:   QC_hit: No
# Query_time: 0.000251  Lock_time: 0.000188  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043575;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:12:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 509  Schema:   QC_hit: No
# Query_time: 0.000372  Lock_time: 0.000225  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043578;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 509  Schema:   QC_hit: No
# Query_time: 0.000321  Lock_time: 0.000231  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043578;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:13:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 511  Schema:   QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000125  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043585;
SELECT
		  page_size, compress_ops, 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.000142  Lock_time: 0.000092  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043585;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:13:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 513  Schema:   QC_hit: No
# Query_time: 0.000342  Lock_time: 0.000241  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043588;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 513  Schema:   QC_hit: No
# Query_time: 0.000187  Lock_time: 0.000132  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043588;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:13:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 515  Schema:   QC_hit: No
# Query_time: 0.000291  Lock_time: 0.000207  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043595;
SELECT
		  page_size, compress_ops, 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.000233  Lock_time: 0.000151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043595;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:13:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 517  Schema:   QC_hit: No
# Query_time: 0.000728  Lock_time: 0.000368  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043598;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 517  Schema:   QC_hit: No
# Query_time: 0.000201  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043598;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:13:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 519  Schema:   QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000200  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043605;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 519  Schema:   QC_hit: No
# Query_time: 0.000209  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043605;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:13:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 521  Schema:   QC_hit: No
# Query_time: 0.000198  Lock_time: 0.000127  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043608;
SELECT
		  page_size, compress_ops, 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.000202  Lock_time: 0.000131  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043608;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:13:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 523  Schema:   QC_hit: No
# Query_time: 0.000181  Lock_time: 0.000121  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043615;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 523  Schema:   QC_hit: No
# Query_time: 0.000147  Lock_time: 0.000093  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043615;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:13:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 525  Schema:   QC_hit: No
# Query_time: 0.000334  Lock_time: 0.000236  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043618;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 525  Schema:   QC_hit: No
# Query_time: 0.000295  Lock_time: 0.000218  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043618;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:13:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 527  Schema:   QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000235  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043625;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 527  Schema:   QC_hit: No
# Query_time: 0.000139  Lock_time: 0.000092  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043625;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:13:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 529  Schema:   QC_hit: No
# Query_time: 0.000228  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043628;
SELECT
		  page_size, compress_ops, 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.000181  Lock_time: 0.000114  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043628;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:13:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 531  Schema:   QC_hit: No
# Query_time: 0.000391  Lock_time: 0.000287  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043635;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 531  Schema:   QC_hit: No
# Query_time: 0.000205  Lock_time: 0.000149  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043635;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:13:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 533  Schema:   QC_hit: No
# Query_time: 0.002169  Lock_time: 0.002102  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043638;
SELECT
		  page_size, compress_ops, 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.000127  Lock_time: 0.000082  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043638;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:14:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 535  Schema:   QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043645;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 535  Schema:   QC_hit: No
# Query_time: 0.001159  Lock_time: 0.000964  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043645;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:14:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 537  Schema:   QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043648;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 537  Schema:   QC_hit: No
# Query_time: 0.000173  Lock_time: 0.000098  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043648;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:14:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 539  Schema:   QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000172  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043655;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 539  Schema:   QC_hit: No
# Query_time: 0.000108  Lock_time: 0.000067  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043655;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:14:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 541  Schema:   QC_hit: No
# Query_time: 0.000206  Lock_time: 0.000123  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043658;
SELECT
		  page_size, compress_ops, 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.000150  Lock_time: 0.000098  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043658;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:14:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 543  Schema:   QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000162  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043665;
SELECT
                  page_size, buffer_pool_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.000168  Lock_time: 0.000103  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043665;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:14:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 545  Schema:   QC_hit: No
# Query_time: 0.000242  Lock_time: 0.000150  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043668;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 545  Schema:   QC_hit: No
# Query_time: 0.000191  Lock_time: 0.000131  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043668;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:14:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 547  Schema:   QC_hit: No
# Query_time: 0.000200  Lock_time: 0.000107  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043675;
SELECT
		  page_size, compress_ops, 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.000121  Lock_time: 0.000082  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043675;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:14:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 549  Schema:   QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000172  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043678;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 549  Schema:   QC_hit: No
# Query_time: 0.001243  Lock_time: 0.001184  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043678;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:14:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 551  Schema:   QC_hit: No
# Query_time: 0.000474  Lock_time: 0.000204  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043685;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 551  Schema:   QC_hit: No
# Query_time: 0.000252  Lock_time: 0.000183  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043685;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:14:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 553  Schema:   QC_hit: No
# Query_time: 0.000652  Lock_time: 0.000531  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043688;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 553  Schema:   QC_hit: No
# Query_time: 0.000194  Lock_time: 0.000130  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043688;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:14:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 555  Schema:   QC_hit: No
# Query_time: 0.000378  Lock_time: 0.000227  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043695;
SELECT
		  page_size, compress_ops, 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.000281  Lock_time: 0.000193  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043695;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:14:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 557  Schema:   QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000155  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043698;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 557  Schema:   QC_hit: No
# Query_time: 0.000151  Lock_time: 0.000097  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043698;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:15:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 559  Schema:   QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000183  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043705;
SELECT
                  page_size, buffer_pool_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.000143  Lock_time: 0.000089  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043705;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:15:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 561  Schema:   QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000171  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043708;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 561  Schema:   QC_hit: No
# Query_time: 0.000219  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043708;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:15:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 563  Schema:   QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000221  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043715;
SELECT
		  page_size, compress_ops, 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.000172  Lock_time: 0.000102  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043715;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:15:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 565  Schema:   QC_hit: No
# Query_time: 0.002499  Lock_time: 0.002408  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043718;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 565  Schema:   QC_hit: No
# Query_time: 0.000615  Lock_time: 0.000557  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043718;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:15:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 568  Schema:   QC_hit: No
# Query_time: 0.000362  Lock_time: 0.000239  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043725;
SELECT
		  page_size, compress_ops, 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.002761  Lock_time: 0.002668  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043725;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:15:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 570  Schema:   QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000195  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043728;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 570  Schema:   QC_hit: No
# Query_time: 0.000221  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043728;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:15:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 572  Schema:   QC_hit: No
# Query_time: 0.000423  Lock_time: 0.000312  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043735;
SELECT
		  page_size, compress_ops, 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.000266  Lock_time: 0.000186  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043735;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2021-09-30 23:15:37 2 [Warning] 'proxies_priv' entry '@% root@dev-mariadb-galera-0' ignored in --skip-name-resolve mode.
# Time: 210930 23:15:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 575  Schema:   QC_hit: No
# Query_time: 0.021246  Lock_time: 0.021142  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043738;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 575  Schema:   QC_hit: No
# Query_time: 0.028625  Lock_time: 0.028524  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043738;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:15:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 577  Schema:   QC_hit: No
# Query_time: 0.003788  Lock_time: 0.003695  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043745;
SELECT
		  page_size, compress_ops, 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.000185  Lock_time: 0.000116  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043745;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:15:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 579  Schema:   QC_hit: No
# Query_time: 0.013774  Lock_time: 0.013694  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043748;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 579  Schema:   QC_hit: No
# Query_time: 0.000727  Lock_time: 0.000655  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043748;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2021-09-30 23:15:49 580 [Warning] 'proxies_priv' entry '@% root@dev-mariadb-galera-0' ignored in --skip-name-resolve mode.
2021-09-30 23:15:49 581 [Warning] 'proxies_priv' entry '@% root@dev-mariadb-galera-0' ignored in --skip-name-resolve mode.
2021-09-30 23:15:49 6 [Warning] 'proxies_priv' entry '@% root@dev-mariadb-galera-0' ignored in --skip-name-resolve mode.
2021-09-30 23:15:49 6 [Warning] 'proxies_priv' entry '@% root@dev-mariadb-galera-0' ignored in --skip-name-resolve mode.
2021-09-30 23:15:50 6 [Warning] 'proxies_priv' entry '@% root@dev-mariadb-galera-0' ignored in --skip-name-resolve mode.
# Time: 210930 23:15:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 583  Schema:   QC_hit: No
# Query_time: 0.000227  Lock_time: 0.000139  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043755;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 583  Schema:   QC_hit: No
# Query_time: 0.000214  Lock_time: 0.000149  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043755;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:15:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 585  Schema:   QC_hit: No
# Query_time: 0.000284  Lock_time: 0.000180  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043758;
SELECT
		  page_size, compress_ops, 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.000421  Lock_time: 0.000350  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043758;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:16:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 587  Schema:   QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000167  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043765;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 587  Schema:   QC_hit: No
# Query_time: 0.000167  Lock_time: 0.000124  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043765;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:16:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 589  Schema:   QC_hit: No
# Query_time: 0.001324  Lock_time: 0.001179  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043768;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 589  Schema:   QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000172  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043768;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:16:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 593  Schema:   QC_hit: No
# Query_time: 0.000335  Lock_time: 0.000170  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043775;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 593  Schema:   QC_hit: No
# Query_time: 0.000130  Lock_time: 0.000081  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043775;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:16:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 595  Schema:   QC_hit: No
# Query_time: 0.001527  Lock_time: 0.001448  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043778;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 595  Schema:   QC_hit: No
# Query_time: 0.001487  Lock_time: 0.001415  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043778;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:16:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 597  Schema:   QC_hit: No
# Query_time: 0.000628  Lock_time: 0.000378  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043785;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 597  Schema:   QC_hit: No
# Query_time: 0.000209  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043785;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:16:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 599  Schema:   QC_hit: No
# Query_time: 0.000230  Lock_time: 0.000137  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043788;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 599  Schema:   QC_hit: No
# Query_time: 0.000154  Lock_time: 0.000096  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043788;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:16:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 601  Schema:   QC_hit: No
# Query_time: 0.000215  Lock_time: 0.000156  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043795;
SELECT
                  page_size, buffer_pool_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.000369  Lock_time: 0.000230  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043795;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:16:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 610  Schema:   QC_hit: No
# Query_time: 0.000321  Lock_time: 0.000224  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043798;
SELECT
		  page_size, compress_ops, 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.000194  Lock_time: 0.000128  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043798;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:16:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 619  Schema:   QC_hit: No
# Query_time: 0.000340  Lock_time: 0.000215  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043805;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 619  Schema:   QC_hit: No
# Query_time: 0.000209  Lock_time: 0.000137  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043805;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:16:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 621  Schema:   QC_hit: No
# Query_time: 0.000252  Lock_time: 0.000149  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043808;
SELECT
		  page_size, compress_ops, 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.000428  Lock_time: 0.000293  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043808;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:16:49
# User@Host: so_user[so_user] @  [10.242.31.6]
# Thread_id: 611  Schema: camundabpmn  QC_hit: No
# Query_time: 0.003399  Lock_time: 0.000373  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 560
use camundabpmn;
SET timestamp=1633043809;
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 (ISNULL(database()) OR (TABLE_SCHEMA = database())) AND TABLE_NAME LIKE 'ACT_RU_EXECUTION'  AND TABLE_TYPE IN ('BASE TABLE','SYSTEM VERSIONED') ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_user[so_user] @  [10.242.31.6]
# Thread_id: 611  Schema: camundabpmn  QC_hit: No
# Query_time: 0.002133  Lock_time: 0.000163  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 559
SET timestamp=1633043809;
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 (ISNULL(database()) OR (TABLE_SCHEMA = database())) AND TABLE_NAME LIKE 'ACT_HI_PROCINST'  AND TABLE_TYPE IN ('BASE TABLE','SYSTEM VERSIONED') ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_user[so_user] @  [10.242.31.6]
# Thread_id: 611  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001327  Lock_time: 0.000187  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 555
SET timestamp=1633043809;
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 (ISNULL(database()) OR (TABLE_SCHEMA = database())) AND TABLE_NAME LIKE 'ACT_ID_USER'  AND TABLE_TYPE IN ('BASE TABLE','SYSTEM VERSIONED') ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_user[so_user] @  [10.242.31.6]
# Thread_id: 611  Schema: camundabpmn  QC_hit: No
# Query_time: 0.002309  Lock_time: 0.000140  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 559
SET timestamp=1633043809;
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 (ISNULL(database()) OR (TABLE_SCHEMA = database())) AND TABLE_NAME LIKE 'ACT_RE_CASE_DEF'  AND TABLE_TYPE IN ('BASE TABLE','SYSTEM VERSIONED') ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_user[so_user] @  [10.242.31.6]
# Thread_id: 611  Schema: camundabpmn  QC_hit: No
# Query_time: 0.002215  Lock_time: 0.000196  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 559
SET timestamp=1633043809;
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 (ISNULL(database()) OR (TABLE_SCHEMA = database())) AND TABLE_NAME LIKE 'ACT_HI_CASEINST'  AND TABLE_TYPE IN ('BASE TABLE','SYSTEM VERSIONED') ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_user[so_user] @  [10.242.31.6]
# Thread_id: 611  Schema: camundabpmn  QC_hit: No
# Query_time: 0.002850  Lock_time: 0.000203  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1633043809;
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 (ISNULL(database()) OR (TABLE_SCHEMA = database())) AND TABLE_NAME LIKE 'ACT_RE_DECISION_DEF'  AND TABLE_TYPE IN ('BASE TABLE','SYSTEM VERSIONED') ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_user[so_user] @  [10.242.31.6]
# Thread_id: 611  Schema: camundabpmn  QC_hit: No
# Query_time: 0.003806  Lock_time: 0.001734  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 558
SET timestamp=1633043809;
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 (ISNULL(database()) OR (TABLE_SCHEMA = database())) AND TABLE_NAME LIKE 'ACT_HI_DECINST'  AND TABLE_TYPE IN ('BASE TABLE','SYSTEM VERSIONED') ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_user[so_user] @  [10.242.31.6]
# Thread_id: 611  Schema: camundabpmn  QC_hit: No
# Query_time: 0.003560  Lock_time: 0.000345  Rows_sent: 26  Rows_examined: 52
# Rows_affected: 0  Bytes_sent: 3734
SET timestamp=1633043809;
SELECT TABLE_SCHEMA TABLE_CAT, NULL TABLE_SCHEM, TABLE_NAME, COLUMN_NAME, CASE data_type WHEN 'bit' THEN -7 WHEN 'tinyblob' THEN -3 WHEN 'mediumblob' THEN -4 WHEN 'longblob' THEN -4 WHEN 'blob' THEN -4 WHEN 'tinytext' THEN 12 WHEN 'mediumtext' THEN -1 WHEN 'longtext' THEN -1 WHEN 'text' THEN -1 WHEN 'date' THEN 91 WHEN 'datetime' THEN 93 WHEN 'decimal' THEN 3 WHEN 'double' THEN 8 WHEN 'enum' THEN 12 WHEN 'float' THEN 7 WHEN 'int' THEN IF( COLUMN_TYPE like '%unsigned%', 4,4) WHEN 'bigint' THEN -5 WHEN 'mediumint' THEN 4 WHEN 'null' THEN 0 WHEN 'set' THEN 12 WHEN 'smallint' THEN IF( COLUMN_TYPE like '%unsigned%', 5,5) WHEN 'varchar' THEN 12 WHEN 'varbinary' THEN -3 WHEN 'char' THEN 1 WHEN 'binary' THEN -2 WHEN 'time' THEN 92 WHEN 'timestamp' THEN 93 WHEN 'tinyint' THEN IF(COLUMN_TYPE like 'tinyint(1)%',-7,-6)  WHEN 'year' THEN 91 ELSE 1111 END  DATA_TYPE, IF(COLUMN_TYPE like 'tinyint(1)%', 'BIT',  UCASE(IF( COLUMN_TYPE LIKE '%(%)%', CONCAT(SUBSTRING( COLUMN_TYPE,1, LOCATE('(',COLUMN_TYPE) - 1 ), SUBSTRING(COLUMN_TYPE ,1+locate(')', COLUMN_TYPE))), COLUMN_TYPE))) TYPE_NAME,  CASE DATA_TYPE  WHEN 'time' THEN IF(DATETIME_PRECISION = 0, 10, CAST(11 + DATETIME_PRECISION as signed integer))  WHEN 'date' THEN 10  WHEN 'datetime' THEN IF(DATETIME_PRECISION = 0, 19, CAST(20 + DATETIME_PRECISION as signed integer))  WHEN 'timestamp' THEN IF(DATETIME_PRECISION = 0, 19, CAST(20 + DATETIME_PRECISION as signed integer))  ELSE   IF(NUMERIC_PRECISION IS NULL, LEAST(CHARACTER_MAXIMUM_LENGTH,2147483647), NUMERIC_PRECISION)  END COLUMN_SIZE, 65535 BUFFER_LENGTH,  CONVERT (CASE DATA_TYPE WHEN 'year' THEN NUMERIC_SCALE WHEN 'tinyint' THEN 0 ELSE NUMERIC_SCALE END, UNSIGNED INTEGER) DECIMAL_DIGITS, 10 NUM_PREC_RADIX, IF(IS_NULLABLE = 'yes',1,0) NULLABLE,COLUMN_COMMENT REMARKS, COLUMN_DEFAULT COLUMN_DEF, 0 SQL_DATA_TYPE, 0 SQL_DATETIME_SUB,   LEAST(CHARACTER_OCTET_LENGTH,2147483647) CHAR_OCTET_LENGTH, ORDINAL_POSITION, IS_NULLABLE, NULL SCOPE_CATALOG, NULL SCOPE_SCHEMA, NULL SCOPE_TABLE, NULL SOURCE_DATA_TYPE, IF(EXTRA = 'auto_increment','YES','NO') IS_AUTOINCREMENT,  IF(EXTRA in ('VIRTUAL', 'PERSISTENT', 'VIRTUAL GENERATED', 'STORED GENERATED') ,'YES','NO') IS_GENERATEDCOLUMN  FROM INFORMATION_SCHEMA.COLUMNS  WHERE (ISNULL(database()) OR (TABLE_SCHEMA = database())) AND TABLE_NAME LIKE 'ACT_RU_JOB'  ORDER BY TABLE_CAT, TABLE_SCHEM, TABLE_NAME, ORDINAL_POSITION;
# Time: 210930 23:16:50
# User@Host: so_user[so_user] @  [10.242.31.6]
# Thread_id: 611  Schema: camundabpmn  QC_hit: No
# Query_time: 0.004037  Lock_time: 0.003204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 810
SET timestamp=1633043810;
select B.*
    from ACT_GE_BYTEARRAY B
    inner join
      (select B.NAME_, MAX(D.DEPLOY_TIME_) DEPLOY_TIME_
      from ACT_GE_BYTEARRAY B
        inner join ACT_RE_DEPLOYMENT D
        on B.DEPLOYMENT_ID_ = D.ID_
      where D.NAME_ = 'NS-WORKFLOW-ENGINE'
        and
         
          (D.SOURCE_ is null or
         
          D.SOURCE_ = 'process application'
         
          )
         
       
        and B.NAME_ in 
         (  
          'MonitorSol003AdapterTerminateNodeStatus.bpmn'
         , 
          'TerminateNs.bpmn'
         , 
          'CreateInstantiateVnf.bpmn'
         , 
          'TerminateVnf.bpmn'
         , 
          'DeleteNs.bpmn'
         , 
          'MonitorSol003AdapterCreateJob.bpmn'
         , 
          'CreateNs.bpmn'
         , 
          'InstantiateNs.bpmn'
         , 
          'MonitorSol003AdapterCreateNodeStatus.bpmn'
         , 
          'MonitorSol003AdapterTerminateJob.bpmn'
         ) 
       
      group by B.NAME_) LAST_RESOURCE
      
    on B.NAME_ = LAST_RESOURCE.NAME_
    inner join ACT_RE_DEPLOYMENT D
    on B.DEPLOYMENT_ID_ = D.ID_
    and D.DEPLOY_TIME_ = LAST_RESOURCE.DEPLOY_TIME_ 
    and D.NAME_ = 'NS-WORKFLOW-ENGINE'
    and
     
      (D.SOURCE_ is null or
     
      D.SOURCE_ = 'process application'
     
      )
     
     
      and D.TENANT_ID_ = 'ns-workflow-engine-tenant'
     
     
    order by B.ID_ asc;
# Time: 210930 23:16:51
# User@Host: so_user[so_user] @  [10.242.43.140]
# Thread_id: 624  Schema: requestdb  QC_hit: No
# Query_time: 0.014310  Lock_time: 0.000258  Rows_sent: 0  Rows_examined: 16
# Rows_affected: 0  Bytes_sent: 92
use requestdb;
SET timestamp=1633043811;
select table_name from information_schema.TABLES where table_schema = database() and table_type = 'SEQUENCE';
# Time: 210930 23:16:53
# User@Host: so_user[so_user] @  [10.242.31.6]
# Thread_id: 611  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001133  Lock_time: 0.000486  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1633043813;
select RES.ID_,
      RES.REV_,
      RES.DUEDATE_,
      RES.PROCESS_INSTANCE_ID_,
      RES.EXCLUSIVE_
    
    from ACT_RU_JOB RES

    where (RES.RETRIES_ > 0)
      and (
       
          RES.DUEDATE_ is null or
       
          RES.DUEDATE_ <= '2021-09-30 23:16:53.629'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-09-30 23:16:53.629')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '7d882ebc-2244-11ec-a5f8-fe4e396b8549'
	   
	 ) 
	)
   
   
         
        )
       

      and ( 
    ( 
    RES.EXCLUSIVE_ = 1
          and not exists(
            select J2.ID_ from ACT_RU_JOB J2
            where J2.PROCESS_INSTANCE_ID_ = RES.PROCESS_INSTANCE_ID_                                           -- from the same proc. inst.
            and (J2.EXCLUSIVE_ = 1)                                                              -- also exclusive
            and (J2.LOCK_OWNER_ is not null and J2.LOCK_EXP_TIME_ >= '2021-09-30 23:16:53.629')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210930 23:16:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 631  Schema:   QC_hit: No
# Query_time: 0.021678  Lock_time: 0.021597  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043815;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 631  Schema:   QC_hit: No
# Query_time: 0.000265  Lock_time: 0.000206  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043815;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:16:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 633  Schema:   QC_hit: No
# Query_time: 0.000305  Lock_time: 0.000204  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043818;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 633  Schema:   QC_hit: No
# Query_time: 0.066786  Lock_time: 0.066667  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043818;
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.242.31.6]
# Thread_id: 611  Schema: camundabpmn  QC_hit: No
# Query_time: 0.028424  Lock_time: 0.027949  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
SET timestamp=1633043818;
select RES.ID_,
      RES.REV_,
      RES.DUEDATE_,
      RES.PROCESS_INSTANCE_ID_,
      RES.EXCLUSIVE_
    
    from ACT_RU_JOB RES

    where (RES.RETRIES_ > 0)
      and (
       
          RES.DUEDATE_ is null or
       
          RES.DUEDATE_ <= '2021-09-30 23:16:58.627'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-09-30 23:16:58.627')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '7d882ebc-2244-11ec-a5f8-fe4e396b8549'
	   
	 ) 
	)
   
   
         
        )
       

      and ( 
    ( 
    RES.EXCLUSIVE_ = 1
          and not exists(
            select J2.ID_ from ACT_RU_JOB J2
            where J2.PROCESS_INSTANCE_ID_ = RES.PROCESS_INSTANCE_ID_                                           -- from the same proc. inst.
            and (J2.EXCLUSIVE_ = 1)                                                              -- also exclusive
            and (J2.LOCK_OWNER_ is not null and J2.LOCK_EXP_TIME_ >= '2021-09-30 23:16:58.627')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210930 23:17:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 635  Schema:   QC_hit: No
# Query_time: 0.091882  Lock_time: 0.091759  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043825;
SELECT
		  page_size, compress_ops, 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.050079  Lock_time: 0.049905  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043825;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:17:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 637  Schema:   QC_hit: No
# Query_time: 0.000520  Lock_time: 0.000391  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043828;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 637  Schema:   QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000158  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043828;
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.242.31.6]
# Thread_id: 611  Schema: camundabpmn  QC_hit: No
# Query_time: 0.002521  Lock_time: 0.001042  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
SET timestamp=1633043828;
select RES.ID_,
      RES.REV_,
      RES.DUEDATE_,
      RES.PROCESS_INSTANCE_ID_,
      RES.EXCLUSIVE_
    
    from ACT_RU_JOB RES

    where (RES.RETRIES_ > 0)
      and (
       
          RES.DUEDATE_ is null or
       
          RES.DUEDATE_ <= '2021-09-30 23:17:08.63'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-09-30 23:17:08.63')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '7d882ebc-2244-11ec-a5f8-fe4e396b8549'
	   
	 ) 
	)
   
   
         
        )
       

      and ( 
    ( 
    RES.EXCLUSIVE_ = 1
          and not exists(
            select J2.ID_ from ACT_RU_JOB J2
            where J2.PROCESS_INSTANCE_ID_ = RES.PROCESS_INSTANCE_ID_                                           -- from the same proc. inst.
            and (J2.EXCLUSIVE_ = 1)                                                              -- also exclusive
            and (J2.LOCK_OWNER_ is not null and J2.LOCK_EXP_TIME_ >= '2021-09-30 23:17:08.63')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210930 23:17:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 645  Schema:   QC_hit: No
# Query_time: 0.000369  Lock_time: 0.000203  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043835;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 645  Schema:   QC_hit: No
# Query_time: 0.000189  Lock_time: 0.000124  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043835;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:17:17
# User@Host: so_user[so_user] @  [10.242.220.168]
# Thread_id: 638  Schema: catalogdb  QC_hit: No
# Query_time: 0.036461  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 72
# Rows_affected: 0  Bytes_sent: 92
use catalogdb;
SET timestamp=1633043837;
select table_name from information_schema.TABLES where table_schema = database() and table_type = 'SEQUENCE';
# Time: 210930 23:17:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 647  Schema:   QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000136  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043838;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 647  Schema:   QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000184  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043838;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:17:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 649  Schema:   QC_hit: No
# Query_time: 0.000158  Lock_time: 0.000103  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043845;
SELECT
		  page_size, compress_ops, 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.000132  Lock_time: 0.000083  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043845;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:17:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 651  Schema:   QC_hit: No
# Query_time: 0.000217  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043848;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 651  Schema:   QC_hit: No
# Query_time: 0.000177  Lock_time: 0.000118  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043848;
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.242.31.6]
# Thread_id: 611  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001592  Lock_time: 0.000709  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1633043848;
select RES.ID_,
      RES.REV_,
      RES.DUEDATE_,
      RES.PROCESS_INSTANCE_ID_,
      RES.EXCLUSIVE_
    
    from ACT_RU_JOB RES

    where (RES.RETRIES_ > 0)
      and (
       
          RES.DUEDATE_ is null or
       
          RES.DUEDATE_ <= '2021-09-30 23:17:28.633'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-09-30 23:17:28.633')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '7d882ebc-2244-11ec-a5f8-fe4e396b8549'
	   
	 ) 
	)
   
   
         
        )
       

      and ( 
    ( 
    RES.EXCLUSIVE_ = 1
          and not exists(
            select J2.ID_ from ACT_RU_JOB J2
            where J2.PROCESS_INSTANCE_ID_ = RES.PROCESS_INSTANCE_ID_                                           -- from the same proc. inst.
            and (J2.EXCLUSIVE_ = 1)                                                              -- also exclusive
            and (J2.LOCK_OWNER_ is not null and J2.LOCK_EXP_TIME_ >= '2021-09-30 23:17:28.633')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210930 23:17:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 653  Schema:   QC_hit: No
# Query_time: 0.000317  Lock_time: 0.000232  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043855;
SELECT
                  page_size, buffer_pool_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.000267  Lock_time: 0.000205  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043855;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:17:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 655  Schema:   QC_hit: No
# Query_time: 0.000400  Lock_time: 0.000247  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043858;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 655  Schema:   QC_hit: No
# Query_time: 0.000339  Lock_time: 0.000233  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043858;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:17:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 659  Schema:   QC_hit: No
# Query_time: 0.000343  Lock_time: 0.000209  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043865;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 659  Schema:   QC_hit: No
# Query_time: 0.000266  Lock_time: 0.000191  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043865;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:17:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 661  Schema:   QC_hit: No
# Query_time: 0.000346  Lock_time: 0.000258  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043868;
SELECT
                  page_size, buffer_pool_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.000211  Lock_time: 0.000132  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043868;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:17:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 663  Schema:   QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000183  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043875;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 663  Schema:   QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043875;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:17:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 665  Schema:   QC_hit: No
# Query_time: 0.000333  Lock_time: 0.000244  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043878;
SELECT
		  page_size, compress_ops, 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.000238  Lock_time: 0.000169  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043878;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:18:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 667  Schema:   QC_hit: No
# Query_time: 0.000159  Lock_time: 0.000097  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043885;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 667  Schema:   QC_hit: No
# Query_time: 0.000132  Lock_time: 0.000072  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043885;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:18:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 669  Schema:   QC_hit: No
# Query_time: 0.000431  Lock_time: 0.000242  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043888;
SELECT
                  page_size, buffer_pool_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.000130  Lock_time: 0.000087  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043888;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: so_user[so_user] @  [10.242.31.6]
# Thread_id: 611  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001542  Lock_time: 0.000582  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
SET timestamp=1633043888;
select RES.ID_,
      RES.REV_,
      RES.DUEDATE_,
      RES.PROCESS_INSTANCE_ID_,
      RES.EXCLUSIVE_
    
    from ACT_RU_JOB RES

    where (RES.RETRIES_ > 0)
      and (
       
          RES.DUEDATE_ is null or
       
          RES.DUEDATE_ <= '2021-09-30 23:18:08.646'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-09-30 23:18:08.646')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '7d882ebc-2244-11ec-a5f8-fe4e396b8549'
	   
	 ) 
	)
   
   
         
        )
       

      and ( 
    ( 
    RES.EXCLUSIVE_ = 1
          and not exists(
            select J2.ID_ from ACT_RU_JOB J2
            where J2.PROCESS_INSTANCE_ID_ = RES.PROCESS_INSTANCE_ID_                                           -- from the same proc. inst.
            and (J2.EXCLUSIVE_ = 1)                                                              -- also exclusive
            and (J2.LOCK_OWNER_ is not null and J2.LOCK_EXP_TIME_ >= '2021-09-30 23:18:08.646')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210930 23:18:13
# User@Host: so_user[so_user] @  [10.242.31.8]
# Thread_id: 670  Schema: requestdb  QC_hit: No
# Query_time: 0.002921  Lock_time: 0.000330  Rows_sent: 0  Rows_examined: 16
# Rows_affected: 0  Bytes_sent: 92
use requestdb;
SET timestamp=1633043893;
select table_name from information_schema.TABLES where table_schema = database() and table_type = 'SEQUENCE';
# Time: 210930 23:18:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 675  Schema:   QC_hit: No
# Query_time: 0.000322  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043895;
SELECT
		  page_size, compress_ops, 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.000217  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043895;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:18:17
# User@Host: so_user[so_user] @  [10.242.31.13]
# Thread_id: 676  Schema: requestdb  QC_hit: No
# Query_time: 0.001865  Lock_time: 0.000378  Rows_sent: 0  Rows_examined: 16
# Rows_affected: 0  Bytes_sent: 92
SET timestamp=1633043897;
select table_name from information_schema.TABLES where table_schema = database() and table_type = 'SEQUENCE';
# Time: 210930 23:18:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 684  Schema:   QC_hit: No
# Query_time: 0.000326  Lock_time: 0.000224  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043898;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 684  Schema:   QC_hit: No
# Query_time: 0.000329  Lock_time: 0.000245  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043898;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:18:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 686  Schema:   QC_hit: No
# Query_time: 0.000215  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043905;
SELECT
		  page_size, compress_ops, 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.000223  Lock_time: 0.000132  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043905;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:18:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 688  Schema:   QC_hit: No
# Query_time: 0.001300  Lock_time: 0.001205  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043908;
SELECT
		  page_size, compress_ops, 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.000364  Lock_time: 0.000280  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043908;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:18:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 691  Schema:   QC_hit: No
# Query_time: 0.000349  Lock_time: 0.000243  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043915;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 691  Schema:   QC_hit: No
# Query_time: 0.000193  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043915;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:18:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 693  Schema:   QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000195  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043918;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 693  Schema:   QC_hit: No
# Query_time: 0.000195  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043918;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:18:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 695  Schema:   QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000126  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043925;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 695  Schema:   QC_hit: No
# Query_time: 0.005511  Lock_time: 0.005438  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043925;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:18:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 697  Schema:   QC_hit: No
# Query_time: 0.001174  Lock_time: 0.001097  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043928;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 697  Schema:   QC_hit: No
# Query_time: 0.000170  Lock_time: 0.000120  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043928;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:18:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001672  Lock_time: 0.000848  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1633043933;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:18:52.308285' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:18:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000357  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043934;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:18:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000499  Lock_time: 0.000202  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043935;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:18:54.280046' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 699  Schema:   QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000195  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043935;
SELECT
		  page_size, compress_ops, 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.000189  Lock_time: 0.000124  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043935;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:18:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000269  Lock_time: 0.000070  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043937;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:18:56.279243' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:18:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 701  Schema:   QC_hit: No
# Query_time: 0.000374  Lock_time: 0.000237  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043938;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 701  Schema:   QC_hit: No
# Query_time: 0.000269  Lock_time: 0.000193  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043938;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:18:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000382  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043939;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:18:58.282204' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:19:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001980  Lock_time: 0.001155  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043940;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:19:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000451  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043941;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:19:00.279219' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:19:02
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000346  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043942;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:19:01.279981' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:19:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001442  Lock_time: 0.001171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043945;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:19:04.279617' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 703  Schema:   QC_hit: No
# Query_time: 0.000239  Lock_time: 0.000168  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043945;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 703  Schema:   QC_hit: No
# Query_time: 0.000179  Lock_time: 0.000110  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043945;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:19:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001738  Lock_time: 0.001409  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043946;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:19:05.280225' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:19:07
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000444  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043947;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:19:06.279396' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:19:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 705  Schema:   QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000172  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043948;
SELECT
		  page_size, compress_ops, 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.000158  Lock_time: 0.000095  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043948;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000897  Lock_time: 0.000656  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043948;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:19:07.28191' order by MODIFIED_DATE ASC limit 1;
# User@Host: so_user[so_user] @  [10.242.31.6]
# Thread_id: 611  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001841  Lock_time: 0.000813  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1633043948;
select RES.ID_,
      RES.REV_,
      RES.DUEDATE_,
      RES.PROCESS_INSTANCE_ID_,
      RES.EXCLUSIVE_
    
    from ACT_RU_JOB RES

    where (RES.RETRIES_ > 0)
      and (
       
          RES.DUEDATE_ is null or
       
          RES.DUEDATE_ <= '2021-09-30 23:19:08.634'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-09-30 23:19:08.634')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '7d882ebc-2244-11ec-a5f8-fe4e396b8549'
	   
	 ) 
	)
   
   
         
        )
       

      and ( 
    ( 
    RES.EXCLUSIVE_ = 1
          and not exists(
            select J2.ID_ from ACT_RU_JOB J2
            where J2.PROCESS_INSTANCE_ID_ = RES.PROCESS_INSTANCE_ID_                                           -- from the same proc. inst.
            and (J2.EXCLUSIVE_ = 1)                                                              -- also exclusive
            and (J2.LOCK_OWNER_ is not null and J2.LOCK_EXP_TIME_ >= '2021-09-30 23:19:08.634')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210930 23:19:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000430  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1633043949;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:19:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000356  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043950;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:19:09.280797' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:19:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000628  Lock_time: 0.000312  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043951;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:19:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000823  Lock_time: 0.000514  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043952;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:19:11.280429' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:19:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000508  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043953;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:19:12.281971' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:19:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002539  Lock_time: 0.001735  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043954;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:19:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000431  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043955;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:19:14.280331' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 707  Schema:   QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000178  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043955;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 707  Schema:   QC_hit: No
# Query_time: 0.000309  Lock_time: 0.000208  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043955;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:19:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000832  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043956;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:19:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000469  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043957;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:19:16.279036' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:19:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 709  Schema:   QC_hit: No
# Query_time: 0.000274  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043958;
SELECT
		  page_size, compress_ops, 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.000173  Lock_time: 0.000110  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043958;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:19:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002768  Lock_time: 0.002415  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043959;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:19:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002279  Lock_time: 0.001893  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043960;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:19:19.280123' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:19:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000830  Lock_time: 0.000249  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043961;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:19:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000581  Lock_time: 0.000324  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043962;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:19:21.279889' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:19:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001899  Lock_time: 0.001623  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043964;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:19:23.278554' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:19:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001092  Lock_time: 0.000326  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043965;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 711  Schema:   QC_hit: No
# Query_time: 0.000322  Lock_time: 0.000199  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043965;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 711  Schema:   QC_hit: No
# Query_time: 0.000261  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043965;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:19:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000478  Lock_time: 0.000195  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043966;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:19:25.280065' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:19:27
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633043967;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:19:26.280718' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:19:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 713  Schema:   QC_hit: No
# Query_time: 0.000461  Lock_time: 0.000302  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043968;
SELECT
		  page_size, compress_ops, 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.000314  Lock_time: 0.000219  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043968;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001345  Lock_time: 0.001010  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043968;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:19:27.279948' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:19:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000418  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043970;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:19:29.278563' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:19:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000509  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043971;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:19:30.278469' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:19:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001806  Lock_time: 0.001174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043972;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:19:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000356  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043973;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:19:32.281319' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:19:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000425  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043974;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:19:35
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000328  Lock_time: 0.000084  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043975;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:19:34.280742' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 715  Schema:   QC_hit: No
# Query_time: 0.000412  Lock_time: 0.000307  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043975;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 715  Schema:   QC_hit: No
# Query_time: 0.000203  Lock_time: 0.000130  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043975;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:19:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000919  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043976;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:19:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000356  Lock_time: 0.000096  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043977;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:19:36.277837' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:19:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 717  Schema:   QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000180  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043978;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 717  Schema:   QC_hit: No
# Query_time: 0.000276  Lock_time: 0.000207  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043978;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:19:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001906  Lock_time: 0.001247  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043979;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:19:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001621  Lock_time: 0.001280  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043981;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:19:40.279777' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:19:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000739  Lock_time: 0.000391  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043982;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:19:41.279127' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:19:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000766  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043983;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:19:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000443  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043984;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:19:43.279436' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:19:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001435  Lock_time: 0.001156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043985;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:19:44.278956' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 719  Schema:   QC_hit: No
# Query_time: 0.000310  Lock_time: 0.000231  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043985;
SELECT
                  page_size, buffer_pool_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.000179  Lock_time: 0.000105  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043985;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:19:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001646  Lock_time: 0.001314  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043986;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:19:45.279757' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:19:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 721  Schema:   QC_hit: No
# Query_time: 0.000286  Lock_time: 0.000196  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043988;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 721  Schema:   QC_hit: No
# Query_time: 0.000266  Lock_time: 0.000177  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043988;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001774  Lock_time: 0.000999  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043988;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:19:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000396  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043989;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:19:48.281486' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:19:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001089  Lock_time: 0.000818  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043990;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:19:49.278989' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:19:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001538  Lock_time: 0.001219  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043991;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:19:50.27943' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:19:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000431  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043992;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:19:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043993;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:19:52.279109' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:19:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000432  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043994;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:19:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001123  Lock_time: 0.000835  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043995;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:19:54.278559' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 723  Schema:   QC_hit: No
# Query_time: 0.000366  Lock_time: 0.000264  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043995;
SELECT
		  page_size, compress_ops, 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.000203  Lock_time: 0.000124  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043995;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:19:56
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000380  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043996;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:19:55.28138' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:19:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001652  Lock_time: 0.001370  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633043997;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:19:56.278977' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:19:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 725  Schema:   QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633043998;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 725  Schema:   QC_hit: No
# Query_time: 0.000191  Lock_time: 0.000126  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633043998;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:20:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002018  Lock_time: 0.001704  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044001;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:20:00.278459' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:20:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000880  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044004;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:20:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000364  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044005;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:20:04.278625' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 727  Schema:   QC_hit: No
# Query_time: 0.000325  Lock_time: 0.000234  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044005;
SELECT
		  page_size, compress_ops, 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.000210  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044005;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:20:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000418  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044006;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:20:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 729  Schema:   QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000166  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044008;
SELECT
		  page_size, compress_ops, 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.000214  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044008;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000714  Lock_time: 0.000414  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044008;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:20:07.278922' order by MODIFIED_DATE ASC limit 1;
# User@Host: so_user[so_user] @  [10.242.31.6]
# Thread_id: 611  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001629  Lock_time: 0.000859  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1633044008;
select RES.ID_,
      RES.REV_,
      RES.DUEDATE_,
      RES.PROCESS_INSTANCE_ID_,
      RES.EXCLUSIVE_
    
    from ACT_RU_JOB RES

    where (RES.RETRIES_ > 0)
      and (
       
          RES.DUEDATE_ is null or
       
          RES.DUEDATE_ <= '2021-09-30 23:20:08.635'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-09-30 23:20:08.635')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '7d882ebc-2244-11ec-a5f8-fe4e396b8549'
	   
	 ) 
	)
   
   
         
        )
       

      and ( 
    ( 
    RES.EXCLUSIVE_ = 1
          and not exists(
            select J2.ID_ from ACT_RU_JOB J2
            where J2.PROCESS_INSTANCE_ID_ = RES.PROCESS_INSTANCE_ID_                                           -- from the same proc. inst.
            and (J2.EXCLUSIVE_ = 1)                                                              -- also exclusive
            and (J2.LOCK_OWNER_ is not null and J2.LOCK_EXP_TIME_ >= '2021-09-30 23:20:08.635')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210930 23:20:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000519  Lock_time: 0.000221  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1633044011;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:20:10.279418' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:20:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 731  Schema:   QC_hit: No
# Query_time: 0.000256  Lock_time: 0.000131  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044015;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 731  Schema:   QC_hit: No
# Query_time: 0.000162  Lock_time: 0.000096  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044015;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:20:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000422  Lock_time: 0.000195  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044017;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:20:16.281617' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:20:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 733  Schema:   QC_hit: No
# Query_time: 0.000256  Lock_time: 0.000170  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044018;
SELECT
                  page_size, buffer_pool_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.000185  Lock_time: 0.000116  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044018;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004908  Lock_time: 0.004665  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044018;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:20:17.281016' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:20:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001246  Lock_time: 0.000387  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044019;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:20:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000502  Lock_time: 0.000215  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044020;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:20:19.278906' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:20:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633044023;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:20:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000430  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044024;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:20:23.278467' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:20:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000486  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044025;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:20:24.281464' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 735  Schema:   QC_hit: No
# Query_time: 0.000265  Lock_time: 0.000181  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044025;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 735  Schema:   QC_hit: No
# Query_time: 0.000189  Lock_time: 0.000118  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044025;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:20:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000528  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044026;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:20:25.277835' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:20:27
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000546  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044027;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:20:26.279218' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:20:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 737  Schema:   QC_hit: No
# Query_time: 0.000641  Lock_time: 0.000442  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044028;
SELECT
		  page_size, compress_ops, 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.000306  Lock_time: 0.000218  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044028;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000718  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044028;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:20:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001037  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044029;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:20:28.279954' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:20:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000510  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044030;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:20:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002102  Lock_time: 0.001745  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044032;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:20:31.278067' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:20:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002096  Lock_time: 0.001848  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044034;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:20:33.279085' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:20:35
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000370  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044035;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:20:34.278724' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 739  Schema:   QC_hit: No
# Query_time: 0.000427  Lock_time: 0.000273  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044035;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 739  Schema:   QC_hit: No
# Query_time: 0.000291  Lock_time: 0.000200  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044035;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:20:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000365  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044036;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:20:35.279233' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:20:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044037;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:20:36.280938' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:20:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 741  Schema:   QC_hit: No
# Query_time: 0.000472  Lock_time: 0.000280  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044038;
SELECT
		  page_size, compress_ops, 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.000264  Lock_time: 0.000181  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044038;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002018  Lock_time: 0.001255  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044038;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:20:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003493  Lock_time: 0.003261  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044039;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:20:38.278487' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:20:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002759  Lock_time: 0.002490  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044040;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:20:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000897  Lock_time: 0.000239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044041;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:20:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000430  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044043;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:20:42.278963' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:20:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001916  Lock_time: 0.001586  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044044;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:20:43.278885' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:20:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000581  Lock_time: 0.000269  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044045;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:20:44.278781' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 745  Schema:   QC_hit: No
# Query_time: 0.000439  Lock_time: 0.000257  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044045;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 745  Schema:   QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000201  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044045;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:20:47
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000455  Lock_time: 0.000196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044047;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:20:46.2815' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:20:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 747  Schema:   QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044048;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 747  Schema:   QC_hit: No
# Query_time: 0.000270  Lock_time: 0.000204  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044048;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:20:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000600  Lock_time: 0.000253  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044050;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:20:49.279933' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:20:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001559  Lock_time: 0.001261  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044053;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:20:52.278675' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:20:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000744  Lock_time: 0.000460  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044054;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:20:53.278028' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:20:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000553  Lock_time: 0.000244  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044055;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:20:54.279494' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 749  Schema:   QC_hit: No
# Query_time: 0.000419  Lock_time: 0.000270  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044055;
SELECT
                  page_size, buffer_pool_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.000246  Lock_time: 0.000167  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044055;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:20:56
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000502  Lock_time: 0.000213  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044056;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:20:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 751  Schema:   QC_hit: No
# Query_time: 0.000361  Lock_time: 0.000240  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044058;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 751  Schema:   QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000143  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044058;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000916  Lock_time: 0.000400  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044058;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:21:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003018  Lock_time: 0.002849  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044061;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:21:00.278637' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:21:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000673  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044063;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:21:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000398  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044064;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:21:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 753  Schema:   QC_hit: No
# Query_time: 0.000704  Lock_time: 0.000621  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044065;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 753  Schema:   QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000206  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044065;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:21:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000454  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044066;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:21:07
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000427  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044067;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:21:06.27882' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:21:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 755  Schema:   QC_hit: No
# Query_time: 0.000281  Lock_time: 0.000206  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044068;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 755  Schema:   QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000196  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044068;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000336  Lock_time: 0.000081  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044068;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:21:07.28092' order by MODIFIED_DATE ASC limit 1;
# User@Host: so_user[so_user] @  [10.242.31.6]
# Thread_id: 611  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001729  Lock_time: 0.000848  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1633044068;
select RES.ID_,
      RES.REV_,
      RES.DUEDATE_,
      RES.PROCESS_INSTANCE_ID_,
      RES.EXCLUSIVE_
    
    from ACT_RU_JOB RES

    where (RES.RETRIES_ > 0)
      and (
       
          RES.DUEDATE_ is null or
       
          RES.DUEDATE_ <= '2021-09-30 23:21:08.637'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-09-30 23:21:08.637')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '7d882ebc-2244-11ec-a5f8-fe4e396b8549'
	   
	 ) 
	)
   
   
         
        )
       

      and ( 
    ( 
    RES.EXCLUSIVE_ = 1
          and not exists(
            select J2.ID_ from ACT_RU_JOB J2
            where J2.PROCESS_INSTANCE_ID_ = RES.PROCESS_INSTANCE_ID_                                           -- from the same proc. inst.
            and (J2.EXCLUSIVE_ = 1)                                                              -- also exclusive
            and (J2.LOCK_OWNER_ is not null and J2.LOCK_EXP_TIME_ >= '2021-09-30 23:21:08.637')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210930 23:21:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001349  Lock_time: 0.001046  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1633044069;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:21:08.278645' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:21:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000457  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044070;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:21:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000651  Lock_time: 0.000374  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044071;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:21:10.27891' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:21:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002165  Lock_time: 0.001774  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044072;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:21:11.278417' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:21:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000367  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044073;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:21:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001650  Lock_time: 0.001322  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044074;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:21:13.278554' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:21:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001296  Lock_time: 0.000975  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044075;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:21:14.278438' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 757  Schema:   QC_hit: No
# Query_time: 0.000480  Lock_time: 0.000339  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044075;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 757  Schema:   QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000194  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044075;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:21:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001434  Lock_time: 0.001036  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044076;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:21:15.279588' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:21:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000631  Lock_time: 0.000316  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044077;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:21:16.278016' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:21:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 759  Schema:   QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000201  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044078;
SELECT
		  page_size, compress_ops, 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.000247  Lock_time: 0.000166  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044078;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:21:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000524  Lock_time: 0.000196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044080;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:21:19.278595' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:21:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000418  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044081;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:21:20.278999' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:21:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001426  Lock_time: 0.001101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044082;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:21:21.278206' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:21:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001253  Lock_time: 0.001008  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044083;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:21:22.27861' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:21:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000346  Lock_time: 0.000078  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044084;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:21:23.27818' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:21:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633044085;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:21:24.278077' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 761  Schema:   QC_hit: No
# Query_time: 0.000194  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044085;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 761  Schema:   QC_hit: No
# Query_time: 0.000192  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044085;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:21:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001006  Lock_time: 0.000653  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044086;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:21:25.278635' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:21:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 763  Schema:   QC_hit: No
# Query_time: 0.000419  Lock_time: 0.000275  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044088;
SELECT
                  page_size, buffer_pool_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.000261  Lock_time: 0.000158  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044088;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001858  Lock_time: 0.001538  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044088;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:21:27.278342' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:21:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001283  Lock_time: 0.000988  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044089;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:21:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000499  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044091;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:21:30.278322' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:21:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000537  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044092;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:21:31.281406' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:21:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001464  Lock_time: 0.000405  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044093;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:21:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000387  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044094;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:21:33.278739' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:21:35
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000424  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044095;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:21:34.279843' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 765  Schema:   QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000153  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044095;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 765  Schema:   QC_hit: No
# Query_time: 0.000209  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044095;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:21:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000434  Lock_time: 0.000180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044096;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:21:35.278032' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:21:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000469  Lock_time: 0.000217  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044097;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:21:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 767  Schema:   QC_hit: No
# Query_time: 0.000624  Lock_time: 0.000543  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044098;
SELECT
		  page_size, compress_ops, 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.000245  Lock_time: 0.000175  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044098;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000391  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044098;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:21:37.278459' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:21:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001526  Lock_time: 0.001169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044101;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:21:40.278694' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:21:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000719  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044102;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:21:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000355  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044103;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:21:42.278619' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:21:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 769  Schema:   QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000203  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044105;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 769  Schema:   QC_hit: No
# Query_time: 0.000309  Lock_time: 0.000212  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044105;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:21:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001334  Lock_time: 0.001080  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044106;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:21:45.278878' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:21:47
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000396  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044107;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:21:46.278127' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:21:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 771  Schema:   QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044108;
SELECT
		  page_size, compress_ops, 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.000205  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044108;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:21:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000845  Lock_time: 0.000537  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044111;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:21:50.282136' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:21:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000350  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044112;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:21:51.278662' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:21:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000463  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044113;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:21:52.278862' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:21:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 773  Schema:   QC_hit: No
# Query_time: 0.000469  Lock_time: 0.000315  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044115;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 773  Schema:   QC_hit: No
# Query_time: 0.000248  Lock_time: 0.000169  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044115;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:21:56
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002083  Lock_time: 0.001706  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044116;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:21:55.278847' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:21:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000761  Lock_time: 0.000406  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044117;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:21:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 775  Schema:   QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000220  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044118;
SELECT
		  page_size, compress_ops, 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.000259  Lock_time: 0.000179  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044118;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:22:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001208  Lock_time: 0.000598  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044121;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:22:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000498  Lock_time: 0.000180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044123;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:22:02.279243' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:22:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001194  Lock_time: 0.000976  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044124;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:22:03.279259' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:22:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000405  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044125;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 777  Schema:   QC_hit: No
# Query_time: 0.000383  Lock_time: 0.000240  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044125;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 777  Schema:   QC_hit: No
# Query_time: 0.000291  Lock_time: 0.000212  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044125;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:22:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000424  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044126;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:22:05.27871' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:22:07
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000380  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044127;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:22:06.278256' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:22:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 779  Schema:   QC_hit: No
# Query_time: 0.000352  Lock_time: 0.000268  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044128;
SELECT
		  page_size, compress_ops, 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.000287  Lock_time: 0.000215  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044128;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000502  Lock_time: 0.000220  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044128;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: so_user[so_user] @  [10.242.31.6]
# Thread_id: 611  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001580  Lock_time: 0.000741  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1633044128;
select RES.ID_,
      RES.REV_,
      RES.DUEDATE_,
      RES.PROCESS_INSTANCE_ID_,
      RES.EXCLUSIVE_
    
    from ACT_RU_JOB RES

    where (RES.RETRIES_ > 0)
      and (
       
          RES.DUEDATE_ is null or
       
          RES.DUEDATE_ <= '2021-09-30 23:22:08.638'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-09-30 23:22:08.638')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '7d882ebc-2244-11ec-a5f8-fe4e396b8549'
	   
	 ) 
	)
   
   
         
        )
       

      and ( 
    ( 
    RES.EXCLUSIVE_ = 1
          and not exists(
            select J2.ID_ from ACT_RU_JOB J2
            where J2.PROCESS_INSTANCE_ID_ = RES.PROCESS_INSTANCE_ID_                                           -- from the same proc. inst.
            and (J2.EXCLUSIVE_ = 1)                                                              -- also exclusive
            and (J2.LOCK_OWNER_ is not null and J2.LOCK_EXP_TIME_ >= '2021-09-30 23:22:08.638')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210930 23:22:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000650  Lock_time: 0.000301  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1633044129;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:22:08.278879' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:22:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001131  Lock_time: 0.000327  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044130;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:22:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001806  Lock_time: 0.001529  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044134;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:22:13.278169' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:22:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000469  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044135;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 781  Schema:   QC_hit: No
# Query_time: 0.000409  Lock_time: 0.000260  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044135;
SELECT
		  page_size, compress_ops, 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.000270  Lock_time: 0.000191  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044135;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:22:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000894  Lock_time: 0.000594  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044136;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:22:15.278622' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:22:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000667  Lock_time: 0.000352  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044137;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:22:16.278796' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:22:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 783  Schema:   QC_hit: No
# Query_time: 0.000329  Lock_time: 0.000242  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044138;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 783  Schema:   QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000165  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044138;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001300  Lock_time: 0.000992  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044138;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:22:17.278962' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:22:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002731  Lock_time: 0.001895  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044139;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:22:18.278808' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:22:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000535  Lock_time: 0.000167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044140;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:22:19.27779' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:22:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001947  Lock_time: 0.001649  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044142;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:22:21.278595' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:22:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000451  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044143;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:22:22.281133' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:22:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000968  Lock_time: 0.000233  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044144;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:22:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000462  Lock_time: 0.000167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044145;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:22:24.278245' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 785  Schema:   QC_hit: No
# Query_time: 0.000458  Lock_time: 0.000303  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044145;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 785  Schema:   QC_hit: No
# Query_time: 0.000356  Lock_time: 0.000279  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044145;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:22:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000529  Lock_time: 0.000226  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044146;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:22:25.279455' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:22:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 787  Schema:   QC_hit: No
# Query_time: 0.000397  Lock_time: 0.000281  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044148;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 787  Schema:   QC_hit: No
# Query_time: 0.000326  Lock_time: 0.000241  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044148;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:22:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000474  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044149;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:22:28.277952' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:22:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000367  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044151;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:22:30.278336' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:22:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000450  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044154;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:22:33.281461' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:22:35
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001089  Lock_time: 0.000784  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044155;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:22:34.279138' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 789  Schema:   QC_hit: No
# Query_time: 0.000347  Lock_time: 0.000221  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044155;
SELECT
		  page_size, compress_ops, 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.000243  Lock_time: 0.000165  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044155;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:22:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 791  Schema:   QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000157  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044158;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 791  Schema:   QC_hit: No
# Query_time: 0.000210  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044158;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000360  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044158;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:22:37.280926' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:22:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000765  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044161;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:22:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000838  Lock_time: 0.000529  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044162;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:22:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000441  Lock_time: 0.000244  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044163;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:22:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 793  Schema:   QC_hit: No
# Query_time: 0.000401  Lock_time: 0.000295  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044165;
SELECT
		  page_size, compress_ops, 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.000202  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044165;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:22:47
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000469  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044167;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:22:46.279734' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:22:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 795  Schema:   QC_hit: No
# Query_time: 0.000269  Lock_time: 0.000185  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044168;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 795  Schema:   QC_hit: No
# Query_time: 0.000241  Lock_time: 0.000155  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044168;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000336  Lock_time: 0.000091  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044168;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:22:47.277855' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:22:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000431  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044169;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:22:48.279175' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:22:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001205  Lock_time: 0.000949  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044170;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:22:49.278647' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:22:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000573  Lock_time: 0.000284  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044175;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 797  Schema:   QC_hit: No
# Query_time: 0.001003  Lock_time: 0.000834  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044175;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 797  Schema:   QC_hit: No
# Query_time: 0.000275  Lock_time: 0.000190  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044175;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:22:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 799  Schema:   QC_hit: No
# Query_time: 0.000361  Lock_time: 0.000245  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044178;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 799  Schema:   QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000206  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044178;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:23:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000656  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044183;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:23:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 801  Schema:   QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000123  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044185;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 801  Schema:   QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000206  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044185;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:23:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000481  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044186;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:23:05.279131' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:23:07
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001518  Lock_time: 0.001199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044187;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:23:06.278872' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:23:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 803  Schema:   QC_hit: No
# Query_time: 0.000321  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044188;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 803  Schema:   QC_hit: No
# Query_time: 0.000198  Lock_time: 0.000117  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044188;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000436  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044188;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:23:07.278345' order by MODIFIED_DATE ASC limit 1;
# User@Host: so_user[so_user] @  [10.242.31.6]
# Thread_id: 611  Schema: camundabpmn  QC_hit: No
# Query_time: 0.003080  Lock_time: 0.002322  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1633044188;
select RES.ID_,
      RES.REV_,
      RES.DUEDATE_,
      RES.PROCESS_INSTANCE_ID_,
      RES.EXCLUSIVE_
    
    from ACT_RU_JOB RES

    where (RES.RETRIES_ > 0)
      and (
       
          RES.DUEDATE_ is null or
       
          RES.DUEDATE_ <= '2021-09-30 23:23:08.639'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-09-30 23:23:08.639')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '7d882ebc-2244-11ec-a5f8-fe4e396b8549'
	   
	 ) 
	)
   
   
         
        )
       

      and ( 
    ( 
    RES.EXCLUSIVE_ = 1
          and not exists(
            select J2.ID_ from ACT_RU_JOB J2
            where J2.PROCESS_INSTANCE_ID_ = RES.PROCESS_INSTANCE_ID_                                           -- from the same proc. inst.
            and (J2.EXCLUSIVE_ = 1)                                                              -- also exclusive
            and (J2.LOCK_OWNER_ is not null and J2.LOCK_EXP_TIME_ >= '2021-09-30 23:23:08.639')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210930 23:23:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000516  Lock_time: 0.000197  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1633044190;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:23:09.279584' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:23:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633044193;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:23:12.281157' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:23:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000704  Lock_time: 0.000338  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044195;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 805  Schema:   QC_hit: No
# Query_time: 0.000284  Lock_time: 0.000210  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044195;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 805  Schema:   QC_hit: No
# Query_time: 0.000224  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044195;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:23:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001615  Lock_time: 0.001162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044196;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:23:15.2782' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:23:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001687  Lock_time: 0.001331  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044197;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:23:16.278359' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:23:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 807  Schema:   QC_hit: No
# Query_time: 0.000369  Lock_time: 0.000277  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044198;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 807  Schema:   QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000196  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044198;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000641  Lock_time: 0.000318  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044198;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:23:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000564  Lock_time: 0.000214  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044199;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:23:18.278571' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:23:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001676  Lock_time: 0.000550  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044200;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:23:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001570  Lock_time: 0.001187  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044201;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:23:20.278261' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:23:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633044203;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:23:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000583  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044204;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:23:23.278425' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:23:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 809  Schema:   QC_hit: No
# Query_time: 0.000478  Lock_time: 0.000358  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044205;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 809  Schema:   QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000162  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044205;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:23:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000661  Lock_time: 0.000304  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044206;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:23:27
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000570  Lock_time: 0.000206  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044207;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:23:26.279089' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:23:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 811  Schema:   QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000186  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044208;
SELECT
		  page_size, compress_ops, 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.000244  Lock_time: 0.000164  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044208;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001485  Lock_time: 0.000323  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044208;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:23:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633044209;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:23:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000697  Lock_time: 0.000252  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044210;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:23:29.278286' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:23:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000405  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044211;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:23:30.27801' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:23:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003375  Lock_time: 0.002358  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044214;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:23:35
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000825  Lock_time: 0.000484  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044215;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:23:34.27854' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 813  Schema:   QC_hit: No
# Query_time: 0.000780  Lock_time: 0.000676  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044215;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 813  Schema:   QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000158  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044215;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:23:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044216;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:23:35.278668' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:23:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000612  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044217;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:23:36.281272' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:23:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 815  Schema:   QC_hit: No
# Query_time: 0.000330  Lock_time: 0.000181  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044218;
SELECT
		  page_size, compress_ops, 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.000207  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044218;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000385  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044218;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:23:37.278466' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:23:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000406  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044219;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:23:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000409  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044220;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:23:39.278508' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:23:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002663  Lock_time: 0.001948  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044221;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:23:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000521  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044222;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:23:41.279675' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:23:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000603  Lock_time: 0.000312  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044223;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:23:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 817  Schema:   QC_hit: No
# Query_time: 0.000384  Lock_time: 0.000204  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044225;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 817  Schema:   QC_hit: No
# Query_time: 0.000303  Lock_time: 0.000182  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044225;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:23:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 819  Schema:   QC_hit: No
# Query_time: 0.000346  Lock_time: 0.000226  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044228;
SELECT
                  page_size, buffer_pool_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.000289  Lock_time: 0.000188  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044228;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633044228;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:23:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000640  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044229;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:23:48.280141' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:23:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000872  Lock_time: 0.000224  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044230;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:23:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001749  Lock_time: 0.001489  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044232;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:23:51.278547' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:23:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000309  Lock_time: 0.000082  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044233;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:23:52.281183' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:23:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000581  Lock_time: 0.000265  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044235;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:23:54.278865' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 821  Schema:   QC_hit: No
# Query_time: 0.000339  Lock_time: 0.000245  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044235;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 821  Schema:   QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000156  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044235;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:23:56
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000456  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044236;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:23:55.279419' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:23:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001874  Lock_time: 0.001139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044237;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:23:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 823  Schema:   QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000154  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044238;
SELECT
		  page_size, compress_ops, 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.000295  Lock_time: 0.000203  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044238;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:24:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001808  Lock_time: 0.001506  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044243;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:24:02.277984' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:24:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001395  Lock_time: 0.001076  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044244;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:24:03.278262' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:24:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000388  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044245;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:24:04.280844' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 825  Schema:   QC_hit: No
# Query_time: 0.001176  Lock_time: 0.001081  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044245;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 825  Schema:   QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000204  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044245;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:24:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044246;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:24:05.277531' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:24:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 827  Schema:   QC_hit: No
# Query_time: 0.000352  Lock_time: 0.000254  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044248;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 827  Schema:   QC_hit: No
# Query_time: 0.000242  Lock_time: 0.000155  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044248;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.007480  Lock_time: 0.007209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044248;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:24:07.278344' order by MODIFIED_DATE ASC limit 1;
# User@Host: so_user[so_user] @  [10.242.31.6]
# Thread_id: 611  Schema: camundabpmn  QC_hit: No
# Query_time: 0.002320  Lock_time: 0.001050  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1633044248;
select RES.ID_,
      RES.REV_,
      RES.DUEDATE_,
      RES.PROCESS_INSTANCE_ID_,
      RES.EXCLUSIVE_
    
    from ACT_RU_JOB RES

    where (RES.RETRIES_ > 0)
      and (
       
          RES.DUEDATE_ is null or
       
          RES.DUEDATE_ <= '2021-09-30 23:24:08.639'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-09-30 23:24:08.639')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '7d882ebc-2244-11ec-a5f8-fe4e396b8549'
	   
	 ) 
	)
   
   
         
        )
       

      and ( 
    ( 
    RES.EXCLUSIVE_ = 1
          and not exists(
            select J2.ID_ from ACT_RU_JOB J2
            where J2.PROCESS_INSTANCE_ID_ = RES.PROCESS_INSTANCE_ID_                                           -- from the same proc. inst.
            and (J2.EXCLUSIVE_ = 1)                                                              -- also exclusive
            and (J2.LOCK_OWNER_ is not null and J2.LOCK_EXP_TIME_ >= '2021-09-30 23:24:08.639')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210930 23:24:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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
use vid_openecomp_epsdk;
SET timestamp=1633044249;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:24:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633044250;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:24:09.281318' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:24:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000477  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044251;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:24:10.278983' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:24:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000438  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044253;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:24:12.281051' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:24:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000485  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044255;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:24:14.278205' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 829  Schema:   QC_hit: No
# Query_time: 0.000275  Lock_time: 0.000189  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044255;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 829  Schema:   QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000186  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044255;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:24:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000563  Lock_time: 0.000250  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044256;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:24:15.278525' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:24:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000604  Lock_time: 0.000262  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044257;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:24:16.281528' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:24:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 831  Schema:   QC_hit: No
# Query_time: 0.000677  Lock_time: 0.000548  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044258;
SELECT
		  page_size, compress_ops, 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.000240  Lock_time: 0.000158  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044258;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001079  Lock_time: 0.000800  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044258;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:24:17.280075' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:24:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000711  Lock_time: 0.000374  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044259;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:24:18.278974' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:24:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000421  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044262;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:24:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000366  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044263;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:24:22.278751' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:24:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002078  Lock_time: 0.001755  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044264;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:24:23.277892' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:24:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001640  Lock_time: 0.001271  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044265;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:24:24.279041' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 833  Schema:   QC_hit: No
# Query_time: 0.000390  Lock_time: 0.000259  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044265;
SELECT
		  page_size, compress_ops, 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.000308  Lock_time: 0.000223  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044265;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:24:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000408  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044266;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:24:27
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000404  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044267;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:24:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 835  Schema:   QC_hit: No
# Query_time: 0.000320  Lock_time: 0.000226  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044268;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 835  Schema:   QC_hit: No
# Query_time: 0.000266  Lock_time: 0.000178  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044268;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:24:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001660  Lock_time: 0.001355  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044269;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:24:28.281326' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:24:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000759  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044270;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:24:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000327  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044271;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:24:30.278172' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:24:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001631  Lock_time: 0.001347  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044274;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:24:33.278817' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:24:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 837  Schema:   QC_hit: No
# Query_time: 0.000197  Lock_time: 0.000114  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044275;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 837  Schema:   QC_hit: No
# Query_time: 0.000127  Lock_time: 0.000079  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044275;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:24:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001060  Lock_time: 0.000716  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044276;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:24:35.279508' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:24:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000375  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044277;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:24:36.279032' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:24:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 839  Schema:   QC_hit: No
# Query_time: 0.000314  Lock_time: 0.000174  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044278;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 839  Schema:   QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000132  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044278;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000513  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044278;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:24:37.277859' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:24:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000460  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044279;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:24:38.278833' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:24:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001483  Lock_time: 0.001272  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044280;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:24:39.278005' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:24:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001170  Lock_time: 0.000840  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044282;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:24:41.278709' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:24:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633044285;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:24:44.279694' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 841  Schema:   QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000229  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044285;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 841  Schema:   QC_hit: No
# Query_time: 0.000215  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044285;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:24:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000564  Lock_time: 0.000238  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044286;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:24:45.277681' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:24:47
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000526  Lock_time: 0.000216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044287;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:24:46.286362' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:24:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 843  Schema:   QC_hit: No
# Query_time: 0.000296  Lock_time: 0.000211  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044288;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 843  Schema:   QC_hit: No
# Query_time: 0.000369  Lock_time: 0.000209  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044288;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:24:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001440  Lock_time: 0.000872  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044289;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:24:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001492  Lock_time: 0.001201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044292;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:24:51.278057' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:24:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000598  Lock_time: 0.000296  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044293;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:24:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 845  Schema:   QC_hit: No
# Query_time: 0.000371  Lock_time: 0.000284  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044295;
SELECT
		  page_size, compress_ops, 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.000273  Lock_time: 0.000190  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044295;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:24:56
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000507  Lock_time: 0.000191  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044296;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:24:55.278873' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:24:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 847  Schema:   QC_hit: No
# Query_time: 0.000546  Lock_time: 0.000358  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044298;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 847  Schema:   QC_hit: No
# Query_time: 0.000342  Lock_time: 0.000229  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044298;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000534  Lock_time: 0.000271  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044298;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:24:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002320  Lock_time: 0.001946  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044299;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:25:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001013  Lock_time: 0.000250  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044300;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:25:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000549  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044303;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:25:02.281099' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:25:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000911  Lock_time: 0.000260  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044304;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:25:03.278235' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:25:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000389  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044305;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:25:04.27835' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 849  Schema:   QC_hit: No
# Query_time: 0.000752  Lock_time: 0.000675  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044305;
SELECT
		  page_size, compress_ops, 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.000196  Lock_time: 0.000120  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044305;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:25:07
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001598  Lock_time: 0.001270  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044307;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:25:06.278417' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:25:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 851  Schema:   QC_hit: No
# Query_time: 0.000310  Lock_time: 0.000194  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044308;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 851  Schema:   QC_hit: No
# Query_time: 0.000265  Lock_time: 0.000198  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044308;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001661  Lock_time: 0.001339  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044308;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:25:07.279247' order by MODIFIED_DATE ASC limit 1;
# User@Host: so_user[so_user] @  [10.242.31.6]
# Thread_id: 611  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001794  Lock_time: 0.000908  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1633044308;
select RES.ID_,
      RES.REV_,
      RES.DUEDATE_,
      RES.PROCESS_INSTANCE_ID_,
      RES.EXCLUSIVE_
    
    from ACT_RU_JOB RES

    where (RES.RETRIES_ > 0)
      and (
       
          RES.DUEDATE_ is null or
       
          RES.DUEDATE_ <= '2021-09-30 23:25:08.639'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-09-30 23:25:08.639')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '7d882ebc-2244-11ec-a5f8-fe4e396b8549'
	   
	 ) 
	)
   
   
         
        )
       

      and ( 
    ( 
    RES.EXCLUSIVE_ = 1
          and not exists(
            select J2.ID_ from ACT_RU_JOB J2
            where J2.PROCESS_INSTANCE_ID_ = RES.PROCESS_INSTANCE_ID_                                           -- from the same proc. inst.
            and (J2.EXCLUSIVE_ = 1)                                                              -- also exclusive
            and (J2.LOCK_OWNER_ is not null and J2.LOCK_EXP_TIME_ >= '2021-09-30 23:25:08.639')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210930 23:25:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001767  Lock_time: 0.001451  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1633044309;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:25:08.280925' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:25:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000540  Lock_time: 0.000245  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044311;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:25:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000503  Lock_time: 0.000206  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044313;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:25:12.283649' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:25:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000965  Lock_time: 0.000222  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044314;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:25:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001100  Lock_time: 0.000408  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044315;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 857  Schema:   QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044315;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 857  Schema:   QC_hit: No
# Query_time: 0.000130  Lock_time: 0.000082  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044315;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:25:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001881  Lock_time: 0.001620  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044316;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:25:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 859  Schema:   QC_hit: No
# Query_time: 0.000304  Lock_time: 0.000165  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044318;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 859  Schema:   QC_hit: No
# Query_time: 0.000205  Lock_time: 0.000128  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044318;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:25:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000517  Lock_time: 0.000230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044320;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:25:19.278435' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:25:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000422  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044322;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:25:21.279088' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:25:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000744  Lock_time: 0.000211  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044323;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:25:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 861  Schema:   QC_hit: No
# Query_time: 0.000343  Lock_time: 0.000263  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044325;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 861  Schema:   QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000224  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044325;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:25:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 863  Schema:   QC_hit: No
# Query_time: 0.000329  Lock_time: 0.000247  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044328;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 863  Schema:   QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000172  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044328;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000449  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044328;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:25:27.278367' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:25:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000378  Lock_time: 0.000090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044329;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:25:28.27845' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:25:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000427  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044330;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:25:29.278674' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:25:35
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001907  Lock_time: 0.001601  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044335;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:25:34.278632' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 865  Schema:   QC_hit: No
# Query_time: 0.000244  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044335;
SELECT
		  page_size, compress_ops, 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.001347  Lock_time: 0.001246  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044335;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:25:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002829  Lock_time: 0.002490  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044336;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:25:35.27841' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:25:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000878  Lock_time: 0.000552  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044337;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:25:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 867  Schema:   QC_hit: No
# Query_time: 0.000353  Lock_time: 0.000238  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044338;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 867  Schema:   QC_hit: No
# Query_time: 0.000208  Lock_time: 0.000131  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044338;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:25:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000508  Lock_time: 0.000238  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044339;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:25:38.278294' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:25:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000419  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044340;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:25:39.280528' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:25:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000415  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044343;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:25:42.280843' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:25:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000439  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044344;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:25:43.278148' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:25:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 869  Schema:   QC_hit: No
# Query_time: 0.000991  Lock_time: 0.000912  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044345;
SELECT
		  page_size, compress_ops, 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.000320  Lock_time: 0.000245  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044345;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:25:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 871  Schema:   QC_hit: No
# Query_time: 0.000266  Lock_time: 0.000185  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044348;
SELECT
		  page_size, compress_ops, 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.000221  Lock_time: 0.000154  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044348;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:25:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000523  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044349;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:25:48.277778' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:25:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000392  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044351;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:25:50.280909' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:25:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000419  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044353;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:25:52.277694' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:25:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000472  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044355;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:25:54.278616' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 873  Schema:   QC_hit: No
# Query_time: 0.000432  Lock_time: 0.000314  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044355;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 873  Schema:   QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000175  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044355;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:25:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 875  Schema:   QC_hit: No
# Query_time: 0.000343  Lock_time: 0.000202  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044358;
SELECT
                  page_size, buffer_pool_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.000256  Lock_time: 0.000174  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044358;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001681  Lock_time: 0.001370  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044358;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:25:57.278184' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:25:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001703  Lock_time: 0.001350  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044359;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:25:58.278395' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:26:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000410  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044360;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:25:59.27844' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:26:02
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000387  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044362;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:26:01.277516' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:26:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000289  Lock_time: 0.000076  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044363;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:26:02.281931' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:26:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 877  Schema:   QC_hit: No
# Query_time: 0.000194  Lock_time: 0.000118  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044365;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 877  Schema:   QC_hit: No
# Query_time: 0.000223  Lock_time: 0.000162  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044365;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:26:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001707  Lock_time: 0.001327  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044366;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:26:05.278047' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:26:07
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000404  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044367;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:26:06.277973' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:26:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 879  Schema:   QC_hit: No
# Query_time: 0.000340  Lock_time: 0.000246  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044368;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 879  Schema:   QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000203  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044368;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000352  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044368;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:26:07.27841' order by MODIFIED_DATE ASC limit 1;
# User@Host: so_user[so_user] @  [10.242.31.6]
# Thread_id: 611  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001409  Lock_time: 0.000693  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1633044368;
select RES.ID_,
      RES.REV_,
      RES.DUEDATE_,
      RES.PROCESS_INSTANCE_ID_,
      RES.EXCLUSIVE_
    
    from ACT_RU_JOB RES

    where (RES.RETRIES_ > 0)
      and (
       
          RES.DUEDATE_ is null or
       
          RES.DUEDATE_ <= '2021-09-30 23:26:08.64'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-09-30 23:26:08.64')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '7d882ebc-2244-11ec-a5f8-fe4e396b8549'
	   
	 ) 
	)
   
   
         
        )
       

      and ( 
    ( 
    RES.EXCLUSIVE_ = 1
          and not exists(
            select J2.ID_ from ACT_RU_JOB J2
            where J2.PROCESS_INSTANCE_ID_ = RES.PROCESS_INSTANCE_ID_                                           -- from the same proc. inst.
            and (J2.EXCLUSIVE_ = 1)                                                              -- also exclusive
            and (J2.LOCK_OWNER_ is not null and J2.LOCK_EXP_TIME_ >= '2021-09-30 23:26:08.64')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210930 23:26:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000496  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1633044370;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:26:09.278684' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:26:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000452  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044373;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:26:12.280571' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:26:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000392  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044374;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:26:13.277878' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:26:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 881  Schema:   QC_hit: No
# Query_time: 0.000211  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044375;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 881  Schema:   QC_hit: No
# Query_time: 0.000159  Lock_time: 0.000100  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044375;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:26:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001552  Lock_time: 0.001205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044376;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:26:15.278116' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:26:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001709  Lock_time: 0.001366  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044377;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:26:16.278665' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:26:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 883  Schema:   QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000174  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044378;
SELECT
		  page_size, compress_ops, 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.000187  Lock_time: 0.000116  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044378;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000536  Lock_time: 0.000214  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044378;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:26:17.277823' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:26:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000959  Lock_time: 0.000599  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044379;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:26:18.279045' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:26:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001431  Lock_time: 0.001100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044380;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:26:19.278456' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:26:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001440  Lock_time: 0.001034  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044381;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:26:20.279806' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:26:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000380  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044382;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:26:21.277801' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:26:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000376  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044385;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:26:24.278417' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 885  Schema:   QC_hit: No
# Query_time: 0.000289  Lock_time: 0.000212  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044385;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 885  Schema:   QC_hit: No
# Query_time: 0.000155  Lock_time: 0.000096  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044385;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:26:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000525  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044386;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:26:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 887  Schema:   QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000200  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044388;
SELECT
		  page_size, compress_ops, 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.000236  Lock_time: 0.000158  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044388;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001529  Lock_time: 0.000401  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044388;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:26:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000726  Lock_time: 0.000333  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044389;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:26:28.278679' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:26:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001235  Lock_time: 0.001008  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044390;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:26:29.27785' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:26:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.008588  Lock_time: 0.008211  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044392;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:26:31.278908' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:26:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 889  Schema:   QC_hit: No
# Query_time: 0.000299  Lock_time: 0.000227  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044395;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 889  Schema:   QC_hit: No
# Query_time: 0.000217  Lock_time: 0.000155  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044395;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:26:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001266  Lock_time: 0.001037  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044396;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:26:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002153  Lock_time: 0.001808  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044397;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:26:36.279276' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:26:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 891  Schema:   QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000186  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044398;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 891  Schema:   QC_hit: No
# Query_time: 0.000202  Lock_time: 0.000137  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044398;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001320  Lock_time: 0.000418  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044398;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:26:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000569  Lock_time: 0.000225  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044399;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:26:38.278632' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:26:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001426  Lock_time: 0.001072  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044401;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:26:40.279084' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:26:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001023  Lock_time: 0.000291  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044402;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:26:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000520  Lock_time: 0.000236  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044403;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:26:42.278613' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:26:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001687  Lock_time: 0.001373  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044404;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:26:43.278135' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:26:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 893  Schema:   QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044405;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 893  Schema:   QC_hit: No
# Query_time: 0.000299  Lock_time: 0.000232  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044405;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:26:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001630  Lock_time: 0.001298  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044406;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:26:45.278822' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:26:47
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001396  Lock_time: 0.001120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044407;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:26:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 895  Schema:   QC_hit: No
# Query_time: 0.000332  Lock_time: 0.000203  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044408;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 895  Schema:   QC_hit: No
# Query_time: 0.000294  Lock_time: 0.000210  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044408;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000519  Lock_time: 0.000226  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044408;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:26:47.278306' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:26:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000396  Lock_time: 0.000107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044411;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:26:50.278668' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:26:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000349  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044412;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:26:51.279181' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:26:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000294  Lock_time: 0.000075  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044413;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:26:52.280569' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:26:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000966  Lock_time: 0.000633  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044414;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:26:53.281658' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:26:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000404  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044415;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 897  Schema:   QC_hit: No
# Query_time: 0.000350  Lock_time: 0.000233  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044415;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 897  Schema:   QC_hit: No
# Query_time: 0.000223  Lock_time: 0.000130  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044415;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:26:56
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000461  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044416;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:26:55.279325' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:26:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000549  Lock_time: 0.000206  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044417;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:26:56.278471' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:26:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 899  Schema:   QC_hit: No
# Query_time: 0.000270  Lock_time: 0.000184  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044418;
SELECT
		  page_size, compress_ops, 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.000893  Lock_time: 0.000805  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044418;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:26:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000449  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044419;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:26:58.281641' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:27:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000384  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044420;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:27:02
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000949  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044422;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:27:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.008794  Lock_time: 0.001482  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044424;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:27:03.279102' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:27:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001397  Lock_time: 0.001107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044425;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 901  Schema:   QC_hit: No
# Query_time: 0.000344  Lock_time: 0.000231  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044425;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 901  Schema:   QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000210  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044425;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:27:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000368  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044426;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:27:05.278291' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:27:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 903  Schema:   QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000215  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044428;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 903  Schema:   QC_hit: No
# Query_time: 0.000206  Lock_time: 0.000150  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044428;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000611  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044428;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: so_user[so_user] @  [10.242.31.6]
# Thread_id: 611  Schema: camundabpmn  QC_hit: No
# Query_time: 0.002711  Lock_time: 0.001943  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1633044428;
select RES.ID_,
      RES.REV_,
      RES.DUEDATE_,
      RES.PROCESS_INSTANCE_ID_,
      RES.EXCLUSIVE_
    
    from ACT_RU_JOB RES

    where (RES.RETRIES_ > 0)
      and (
       
          RES.DUEDATE_ is null or
       
          RES.DUEDATE_ <= '2021-09-30 23:27:08.645'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-09-30 23:27:08.645')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '7d882ebc-2244-11ec-a5f8-fe4e396b8549'
	   
	 ) 
	)
   
   
         
        )
       

      and ( 
    ( 
    RES.EXCLUSIVE_ = 1
          and not exists(
            select J2.ID_ from ACT_RU_JOB J2
            where J2.PROCESS_INSTANCE_ID_ = RES.PROCESS_INSTANCE_ID_                                           -- from the same proc. inst.
            and (J2.EXCLUSIVE_ = 1)                                                              -- also exclusive
            and (J2.LOCK_OWNER_ is not null and J2.LOCK_EXP_TIME_ >= '2021-09-30 23:27:08.645')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210930 23:27:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000385  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1633044429;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:27:08.281697' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:27:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001354  Lock_time: 0.001051  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044432;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:27:11.278006' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:27:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000569  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044433;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:27:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000056  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044435;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:27:14.280983' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 905  Schema:   QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000167  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044435;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 905  Schema:   QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000143  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044435;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:27:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000091  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044436;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:27:15.278094' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:27:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 907  Schema:   QC_hit: No
# Query_time: 0.000265  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044438;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 907  Schema:   QC_hit: No
# Query_time: 0.000180  Lock_time: 0.000114  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044438;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000837  Lock_time: 0.000187  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044438;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:27:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000389  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044439;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:27:18.27858' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:27:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001590  Lock_time: 0.001324  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044440;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:27:19.278303' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:27:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000473  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044441;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:27:20.281253' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:27:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000572  Lock_time: 0.000340  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044442;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:27:21.280481' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:27:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002245  Lock_time: 0.002029  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044444;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:27:23.278308' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:27:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001083  Lock_time: 0.000846  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044445;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 909  Schema:   QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000205  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044445;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 909  Schema:   QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000191  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044445;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:27:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000307  Lock_time: 0.000089  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044446;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:27:25.278968' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:27:27
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633044447;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:27:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 911  Schema:   QC_hit: No
# Query_time: 0.000223  Lock_time: 0.000108  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044448;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 911  Schema:   QC_hit: No
# Query_time: 0.000147  Lock_time: 0.000098  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044448;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000230  Lock_time: 0.000078  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044448;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:27:27.28063' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:27:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000406  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044449;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:27:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001537  Lock_time: 0.001249  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044452;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:27:31.27878' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:27:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000348  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044453;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:27:32.282199' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:27:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001086  Lock_time: 0.000829  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044454;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:27:33.278852' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:27:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 913  Schema:   QC_hit: No
# Query_time: 0.000193  Lock_time: 0.000132  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044455;
SELECT
		  page_size, compress_ops, 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.000115  Lock_time: 0.000072  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044455;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:27:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000546  Lock_time: 0.000221  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044456;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:27:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 915  Schema:   QC_hit: No
# Query_time: 0.000217  Lock_time: 0.000150  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044458;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 915  Schema:   QC_hit: No
# Query_time: 0.000179  Lock_time: 0.000117  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044458;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000519  Lock_time: 0.000262  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044458;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:27:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000354  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044460;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:27:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001619  Lock_time: 0.001302  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044462;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:27:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000589  Lock_time: 0.000230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044464;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:27:43.28013' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:27:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001987  Lock_time: 0.001439  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044465;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:27:44.278547' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 917  Schema:   QC_hit: No
# Query_time: 0.000705  Lock_time: 0.000537  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044465;
SELECT
		  page_size, compress_ops, 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.000229  Lock_time: 0.000156  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044465;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:27:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000712  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044466;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:27:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 919  Schema:   QC_hit: No
# Query_time: 0.000327  Lock_time: 0.000249  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044468;
SELECT
		  page_size, compress_ops, 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.000499  Lock_time: 0.000427  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044468;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:27:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000728  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044469;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:27:48.279299' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:27:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001283  Lock_time: 0.000239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044471;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:27:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000436  Lock_time: 0.000187  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044472;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:27:51.280711' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:27:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001209  Lock_time: 0.000826  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044473;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:27:52.278015' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:27:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000080  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044475;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:27:54.278187' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 921  Schema:   QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044475;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 921  Schema:   QC_hit: No
# Query_time: 0.000211  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044475;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:27:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001309  Lock_time: 0.001046  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044477;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:27:56.279077' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:27:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 923  Schema:   QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000171  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044478;
SELECT
                  page_size, buffer_pool_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.000191  Lock_time: 0.000118  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044478;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001530  Lock_time: 0.000511  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044478;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:27:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000477  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044479;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:27:58.280723' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:28:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000576  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044480;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:28:02
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001735  Lock_time: 0.001434  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044482;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:28:01.277914' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:28:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000520  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044485;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:28:04.281213' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 925  Schema:   QC_hit: No
# Query_time: 0.000418  Lock_time: 0.000335  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044485;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 925  Schema:   QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000175  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044485;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:28:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000389  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044486;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:28:05.277654' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:28:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 927  Schema:   QC_hit: No
# Query_time: 0.000416  Lock_time: 0.000241  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044488;
SELECT
                  page_size, buffer_pool_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.000420  Lock_time: 0.000330  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044488;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001654  Lock_time: 0.001242  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044488;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: so_user[so_user] @  [10.242.31.6]
# Thread_id: 611  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001771  Lock_time: 0.000932  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1633044488;
select RES.ID_,
      RES.REV_,
      RES.DUEDATE_,
      RES.PROCESS_INSTANCE_ID_,
      RES.EXCLUSIVE_
    
    from ACT_RU_JOB RES

    where (RES.RETRIES_ > 0)
      and (
       
          RES.DUEDATE_ is null or
       
          RES.DUEDATE_ <= '2021-09-30 23:28:08.641'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-09-30 23:28:08.641')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '7d882ebc-2244-11ec-a5f8-fe4e396b8549'
	   
	 ) 
	)
   
   
         
        )
       

      and ( 
    ( 
    RES.EXCLUSIVE_ = 1
          and not exists(
            select J2.ID_ from ACT_RU_JOB J2
            where J2.PROCESS_INSTANCE_ID_ = RES.PROCESS_INSTANCE_ID_                                           -- from the same proc. inst.
            and (J2.EXCLUSIVE_ = 1)                                                              -- also exclusive
            and (J2.LOCK_OWNER_ is not null and J2.LOCK_EXP_TIME_ >= '2021-09-30 23:28:08.641')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210930 23:28:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002112  Lock_time: 0.001339  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1633044490;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:28:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000499  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044492;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:28:11.278951' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:28:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001602  Lock_time: 0.001278  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044493;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:28:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002813  Lock_time: 0.001933  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044494;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:28:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000923  Lock_time: 0.000647  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044495;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:28:14.277959' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 929  Schema:   QC_hit: No
# Query_time: 0.000631  Lock_time: 0.000545  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044495;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 929  Schema:   QC_hit: No
# Query_time: 0.000239  Lock_time: 0.000149  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044495;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:28:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000399  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044496;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:28:15.279319' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:28:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 931  Schema:   QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000156  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044498;
SELECT
                  page_size, buffer_pool_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.000258  Lock_time: 0.000187  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044498;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000385  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044498;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:28:17.278802' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:28:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000933  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044500;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:28:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000313  Lock_time: 0.000079  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044504;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:28:23.28123' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:28:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000375  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044505;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:28:24.286117' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 933  Schema:   QC_hit: No
# Query_time: 0.000385  Lock_time: 0.000286  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044505;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 933  Schema:   QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000120  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044505;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:28:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000623  Lock_time: 0.000292  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044506;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:28:25.278692' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:28:27
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001971  Lock_time: 0.001195  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044507;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:28:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 935  Schema:   QC_hit: No
# Query_time: 0.000354  Lock_time: 0.000191  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044508;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 935  Schema:   QC_hit: No
# Query_time: 0.000310  Lock_time: 0.000222  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044508;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001452  Lock_time: 0.001168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044508;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:28:27.278083' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:28:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001885  Lock_time: 0.001467  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044509;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:28:28.279024' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:28:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000329  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044512;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:28:31.280924' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:28:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001723  Lock_time: 0.001382  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044513;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:28:32.279364' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:28:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 937  Schema:   QC_hit: No
# Query_time: 0.000364  Lock_time: 0.000217  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044515;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 937  Schema:   QC_hit: No
# Query_time: 0.000217  Lock_time: 0.000142  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044515;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:28:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001765  Lock_time: 0.001432  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044516;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:28:35.278273' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:28:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 939  Schema:   QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000166  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044518;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 939  Schema:   QC_hit: No
# Query_time: 0.000191  Lock_time: 0.000119  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044518;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000490  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044518;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:28:37.278905' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:28:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000320  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044522;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:28:41.281191' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:28:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000852  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044523;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:28:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000421  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044524;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:28:43.281323' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:28:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 941  Schema:   QC_hit: No
# Query_time: 0.000294  Lock_time: 0.000212  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044525;
SELECT
                  page_size, buffer_pool_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.001846  Lock_time: 0.001775  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044525;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:28:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001709  Lock_time: 0.001367  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044526;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:28:45.280906' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:28:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 943  Schema:   QC_hit: No
# Query_time: 0.000451  Lock_time: 0.000312  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044528;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 943  Schema:   QC_hit: No
# Query_time: 0.000276  Lock_time: 0.000198  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044528;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:28:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000911  Lock_time: 0.000216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044534;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:28:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000589  Lock_time: 0.000281  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044535;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:28:54.278267' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 945  Schema:   QC_hit: No
# Query_time: 0.000300  Lock_time: 0.000220  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044535;
SELECT
		  page_size, compress_ops, 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.000391  Lock_time: 0.000314  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044535;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:28:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001986  Lock_time: 0.001641  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044537;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:28:56.281103' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:28:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 947  Schema:   QC_hit: No
# Query_time: 0.000347  Lock_time: 0.000211  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044538;
SELECT
		  page_size, compress_ops, 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.000323  Lock_time: 0.000233  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044538;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001576  Lock_time: 0.000821  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044538;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:29:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000508  Lock_time: 0.000286  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044540;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:28:59.278387' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:29:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000427  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044543;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:29:02.280362' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:29:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001322  Lock_time: 0.001073  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044544;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:29:03.278879' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:29:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002013  Lock_time: 0.001671  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044545;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:29:04.279673' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 950  Schema:   QC_hit: No
# Query_time: 0.000296  Lock_time: 0.000210  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044545;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 950  Schema:   QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000199  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044545;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:29:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001158  Lock_time: 0.000752  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044546;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:29:05.278716' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:29:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 952  Schema:   QC_hit: No
# Query_time: 0.000526  Lock_time: 0.000387  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044548;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 952  Schema:   QC_hit: No
# Query_time: 0.000333  Lock_time: 0.000237  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044548;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000440  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044548;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:29:07.280685' order by MODIFIED_DATE ASC limit 1;
# User@Host: so_user[so_user] @  [10.242.31.6]
# Thread_id: 611  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001234  Lock_time: 0.000552  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1633044548;
select RES.ID_,
      RES.REV_,
      RES.DUEDATE_,
      RES.PROCESS_INSTANCE_ID_,
      RES.EXCLUSIVE_
    
    from ACT_RU_JOB RES

    where (RES.RETRIES_ > 0)
      and (
       
          RES.DUEDATE_ is null or
       
          RES.DUEDATE_ <= '2021-09-30 23:29:08.643'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-09-30 23:29:08.643')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '7d882ebc-2244-11ec-a5f8-fe4e396b8549'
	   
	 ) 
	)
   
   
         
        )
       

      and ( 
    ( 
    RES.EXCLUSIVE_ = 1
          and not exists(
            select J2.ID_ from ACT_RU_JOB J2
            where J2.PROCESS_INSTANCE_ID_ = RES.PROCESS_INSTANCE_ID_                                           -- from the same proc. inst.
            and (J2.EXCLUSIVE_ = 1)                                                              -- also exclusive
            and (J2.LOCK_OWNER_ is not null and J2.LOCK_EXP_TIME_ >= '2021-09-30 23:29:08.643')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210930 23:29:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002327  Lock_time: 0.001883  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1633044549;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:29:08.279389' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:29:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002124  Lock_time: 0.001366  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044550;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:29:09.278257' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:29:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000572  Lock_time: 0.000249  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044551;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:29:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000836  Lock_time: 0.000538  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044552;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:29:11.278597' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:29:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000362  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044553;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:29:12.277961' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:29:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001643  Lock_time: 0.001364  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044555;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:29:14.277662' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 956  Schema:   QC_hit: No
# Query_time: 0.000322  Lock_time: 0.000226  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044555;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 956  Schema:   QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000154  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044555;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:29:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000579  Lock_time: 0.000302  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044557;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:29:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 958  Schema:   QC_hit: No
# Query_time: 0.000450  Lock_time: 0.000283  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044558;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 958  Schema:   QC_hit: No
# Query_time: 0.000304  Lock_time: 0.000219  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044558;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:29:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000533  Lock_time: 0.000214  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044559;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:29:18.278716' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:29:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000562  Lock_time: 0.000260  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044560;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:29:19.279228' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:29:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001493  Lock_time: 0.001177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044561;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:29:20.27865' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:29:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001043  Lock_time: 0.000313  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044563;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:29:24
# User@Host: rene[rene] @  [10.242.220.155]
# Thread_id: 137  Schema: nbi  QC_hit: No
# Query_time: 0.006365  Lock_time: 0.005918  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 505
use nbi;
SET timestamp=1633044564;
select executiont0_.internal_id as internal1_0_, executiont0_.create_date as create_d2_0_, executiont0_.last_attempt_date as last_att3_0_, executiont0_.order_item_id as order_it4_0_, executiont0_.relied_tasks as relied_t5_0_, executiont0_.service_order_info_json as service_6_0_ from execution_task executiont0_ where trim(executiont0_.relied_tasks) like '';
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000757  Lock_time: 0.000221  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1633044564;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044564;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:29:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000467  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044565;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:29:24.278323' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 960  Schema:   QC_hit: No
# Query_time: 0.000361  Lock_time: 0.000264  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044565;
SELECT
                  page_size, buffer_pool_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.000240  Lock_time: 0.000171  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044565;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:29:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000873  Lock_time: 0.000274  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044566;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:29:27
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001659  Lock_time: 0.001354  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044567;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:29:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 962  Schema:   QC_hit: No
# Query_time: 0.000350  Lock_time: 0.000179  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044568;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 962  Schema:   QC_hit: No
# Query_time: 0.000250  Lock_time: 0.000168  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044568;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002037  Lock_time: 0.001616  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044568;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:29:27.278412' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:29:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.006894  Lock_time: 0.006571  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044569;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:29:28.278199' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:29:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001206  Lock_time: 0.000534  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044570;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:29:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633044571;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:29:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000636  Lock_time: 0.000284  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044572;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:29:31.277996' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:29:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000456  Lock_time: 0.000174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044573;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:29:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 964  Schema:   QC_hit: No
# Query_time: 0.000478  Lock_time: 0.000244  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044575;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 964  Schema:   QC_hit: No
# Query_time: 0.000215  Lock_time: 0.000132  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044575;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:29:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000437  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044576;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:29:35.278043' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:29:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 966  Schema:   QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000183  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044578;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 966  Schema:   QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000211  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044578;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:29:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001826  Lock_time: 0.001449  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044579;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:29:38.278319' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:29:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001553  Lock_time: 0.001280  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044580;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:29:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000393  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044583;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:29:42.278574' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:29:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001760  Lock_time: 0.001440  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044585;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:29:44.277911' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 974  Schema:   QC_hit: No
# Query_time: 0.001187  Lock_time: 0.001096  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044585;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 974  Schema:   QC_hit: No
# Query_time: 0.000517  Lock_time: 0.000451  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044585;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:29:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000407  Lock_time: 0.000107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044586;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:29:45.278233' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:29:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 976  Schema:   QC_hit: No
# Query_time: 0.000465  Lock_time: 0.000319  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044588;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 976  Schema:   QC_hit: No
# Query_time: 0.000340  Lock_time: 0.000252  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044588;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000405  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044588;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:29:47.27836' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:29:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000434  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044589;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:29:48.27884' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:29:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001366  Lock_time: 0.001106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044590;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:29:49.278087' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:29:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000379  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044592;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:29:51.278749' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:29:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000327  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044593;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:29:52.278806' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:29:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000864  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044594;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:29:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 978  Schema:   QC_hit: No
# Query_time: 0.000229  Lock_time: 0.000166  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044595;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 978  Schema:   QC_hit: No
# Query_time: 0.000188  Lock_time: 0.000131  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044595;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:29:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 980  Schema:   QC_hit: No
# Query_time: 0.000354  Lock_time: 0.000263  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044598;
SELECT
		  page_size, compress_ops, 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.000310  Lock_time: 0.000236  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044598;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:29:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000470  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044599;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:29:58.278299' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:30:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000478  Lock_time: 0.000235  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044600;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:29:59.278145' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:30:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000469  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044601;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:30:00.278382' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:30:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000477  Lock_time: 0.000207  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044604;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:30:03.278012' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:30:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000484  Lock_time: 0.000208  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044605;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:30:04.278393' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 982  Schema:   QC_hit: No
# Query_time: 0.000390  Lock_time: 0.000238  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044605;
SELECT
                  page_size, buffer_pool_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.000221  Lock_time: 0.000143  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044605;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:30:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 984  Schema:   QC_hit: No
# Query_time: 0.000310  Lock_time: 0.000218  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044608;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 984  Schema:   QC_hit: No
# Query_time: 0.000231  Lock_time: 0.000126  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044608;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000886  Lock_time: 0.000245  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044608;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: so_user[so_user] @  [10.242.31.6]
# Thread_id: 611  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001588  Lock_time: 0.000788  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1633044608;
select RES.ID_,
      RES.REV_,
      RES.DUEDATE_,
      RES.PROCESS_INSTANCE_ID_,
      RES.EXCLUSIVE_
    
    from ACT_RU_JOB RES

    where (RES.RETRIES_ > 0)
      and (
       
          RES.DUEDATE_ is null or
       
          RES.DUEDATE_ <= '2021-09-30 23:30:08.643'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-09-30 23:30:08.643')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '7d882ebc-2244-11ec-a5f8-fe4e396b8549'
	   
	 ) 
	)
   
   
         
        )
       

      and ( 
    ( 
    RES.EXCLUSIVE_ = 1
          and not exists(
            select J2.ID_ from ACT_RU_JOB J2
            where J2.PROCESS_INSTANCE_ID_ = RES.PROCESS_INSTANCE_ID_                                           -- from the same proc. inst.
            and (J2.EXCLUSIVE_ = 1)                                                              -- also exclusive
            and (J2.LOCK_OWNER_ is not null and J2.LOCK_EXP_TIME_ >= '2021-09-30 23:30:08.643')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210930 23:30:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000519  Lock_time: 0.000185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1633044611;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:30:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000448  Lock_time: 0.000167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044612;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:30:11.278854' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:30:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000515  Lock_time: 0.000174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044613;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:30:12.280613' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:30:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000536  Lock_time: 0.000227  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044614;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:30:13.278025' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:30:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 986  Schema:   QC_hit: No
# Query_time: 0.000239  Lock_time: 0.000155  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044615;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 986  Schema:   QC_hit: No
# Query_time: 0.000183  Lock_time: 0.000121  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044615;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:30:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 988  Schema:   QC_hit: No
# Query_time: 0.000315  Lock_time: 0.000213  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044618;
SELECT
		  page_size, compress_ops, 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.000213  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044618;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001336  Lock_time: 0.001059  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044618;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:30:17.278954' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:30:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000488  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044619;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:30:18.277927' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:30:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000383  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044620;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:30:19.278507' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:30:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000791  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044621;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:30:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000790  Lock_time: 0.000498  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044622;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:30:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001494  Lock_time: 0.001163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044623;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:30:22.278859' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:30:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 990  Schema:   QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000192  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044625;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 990  Schema:   QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000200  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044625;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:30:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000556  Lock_time: 0.000230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044626;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:30:25.278697' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:30:27
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002058  Lock_time: 0.001701  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044627;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:30:26.277987' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:30:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 992  Schema:   QC_hit: No
# Query_time: 0.000388  Lock_time: 0.000293  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044628;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 992  Schema:   QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000242  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044628;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002701  Lock_time: 0.002373  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044628;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:30:27.278097' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:30:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000450  Lock_time: 0.000197  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044629;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:30:28.277702' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:30:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000335  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044630;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:30:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001106  Lock_time: 0.000889  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044632;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:30:31.278104' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:30:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000430  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044634;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:30:33.278794' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:30:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 994  Schema:   QC_hit: No
# Query_time: 0.000364  Lock_time: 0.000226  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044635;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 994  Schema:   QC_hit: No
# Query_time: 0.000257  Lock_time: 0.000184  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044635;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:30:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001704  Lock_time: 0.001354  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044636;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:30:35.278405' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:30:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002239  Lock_time: 0.001582  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044637;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:30:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 996  Schema:   QC_hit: No
# Query_time: 0.000342  Lock_time: 0.000254  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044638;
SELECT
		  page_size, compress_ops, 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.000327  Lock_time: 0.000248  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044638;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000664  Lock_time: 0.000322  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044638;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:30:37.277858' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:30:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000854  Lock_time: 0.000438  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044641;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:30:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633044643;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:30:42.279241' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:30:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002292  Lock_time: 0.001539  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044644;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:30:43.277824' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:30:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000403  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044645;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 998  Schema:   QC_hit: No
# Query_time: 0.000446  Lock_time: 0.000331  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044645;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 998  Schema:   QC_hit: No
# Query_time: 0.000292  Lock_time: 0.000210  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044645;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:30:47
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000814  Lock_time: 0.000389  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044647;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:30:46.279121' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:30:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1000  Schema:   QC_hit: No
# Query_time: 0.000369  Lock_time: 0.000268  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044648;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1000  Schema:   QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000177  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044648;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001453  Lock_time: 0.001182  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044648;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:30:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000433  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044650;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:30:49.278586' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:30:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000888  Lock_time: 0.000563  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044651;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:30:50.278452' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:30:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001388  Lock_time: 0.000800  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044652;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:30:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001697  Lock_time: 0.001275  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044655;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:30:54.278619' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1002  Schema:   QC_hit: No
# Query_time: 0.000304  Lock_time: 0.000226  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044655;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1002  Schema:   QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000168  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044655;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:30:56
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000446  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044656;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:30:55.278934' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:30:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000443  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044657;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:30:56.279991' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:30:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1004  Schema:   QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000190  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044658;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1004  Schema:   QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000189  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044658;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000500  Lock_time: 0.000241  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044658;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:30:57.281092' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:31:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000448  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044660;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:30:59.278161' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:31:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000366  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044661;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:31:00.278481' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:31:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000497  Lock_time: 0.000211  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044665;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:31:04.278134' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1006  Schema:   QC_hit: No
# Query_time: 0.000296  Lock_time: 0.000203  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044665;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1006  Schema:   QC_hit: No
# Query_time: 0.000192  Lock_time: 0.000123  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044665;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:31:07
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000435  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044667;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:31:06.281889' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:31:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1008  Schema:   QC_hit: No
# Query_time: 0.000427  Lock_time: 0.000283  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044668;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1008  Schema:   QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000153  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044668;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000556  Lock_time: 0.000214  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044668;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:31:07.278371' order by MODIFIED_DATE ASC limit 1;
# User@Host: so_user[so_user] @  [10.242.31.6]
# Thread_id: 611  Schema: camundabpmn  QC_hit: No
# Query_time: 0.002815  Lock_time: 0.001982  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1633044668;
select RES.ID_,
      RES.REV_,
      RES.DUEDATE_,
      RES.PROCESS_INSTANCE_ID_,
      RES.EXCLUSIVE_
    
    from ACT_RU_JOB RES

    where (RES.RETRIES_ > 0)
      and (
       
          RES.DUEDATE_ is null or
       
          RES.DUEDATE_ <= '2021-09-30 23:31:08.639'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-09-30 23:31:08.639')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '7d882ebc-2244-11ec-a5f8-fe4e396b8549'
	   
	 ) 
	)
   
   
         
        )
       

      and ( 
    ( 
    RES.EXCLUSIVE_ = 1
          and not exists(
            select J2.ID_ from ACT_RU_JOB J2
            where J2.PROCESS_INSTANCE_ID_ = RES.PROCESS_INSTANCE_ID_                                           -- from the same proc. inst.
            and (J2.EXCLUSIVE_ = 1)                                                              -- also exclusive
            and (J2.LOCK_OWNER_ is not null and J2.LOCK_EXP_TIME_ >= '2021-09-30 23:31:08.639')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210930 23:31:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000502  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1633044669;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:31:08.281708' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:31:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000544  Lock_time: 0.000231  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044670;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:31:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000423  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044671;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:31:10.279121' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:31:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000370  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044672;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:31:11.278187' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:31:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000396  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044674;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:31:13.280946' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:31:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000456  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044675;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:31:14.277833' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1010  Schema:   QC_hit: No
# Query_time: 0.000299  Lock_time: 0.000186  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044675;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1010  Schema:   QC_hit: No
# Query_time: 0.000233  Lock_time: 0.000161  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044675;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:31:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000325  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044676;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:31:15.277739' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:31:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000381  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044677;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:31:16.278143' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:31:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1012  Schema:   QC_hit: No
# Query_time: 0.000629  Lock_time: 0.000513  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044678;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1012  Schema:   QC_hit: No
# Query_time: 0.000215  Lock_time: 0.000149  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044678;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000972  Lock_time: 0.000230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044678;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:31:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001189  Lock_time: 0.000950  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044682;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:31:21.280743' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:31:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000276  Lock_time: 0.000079  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044683;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:31:22.277819' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:31:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633044684;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:31:23.281883' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:31:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000518  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044685;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:31:24.278569' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1014  Schema:   QC_hit: No
# Query_time: 0.000280  Lock_time: 0.000209  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044685;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1014  Schema:   QC_hit: No
# Query_time: 0.000182  Lock_time: 0.000120  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044685;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:31:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000550  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044686;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:31:25.278426' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:31:27
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001415  Lock_time: 0.001153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044687;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:31:26.277813' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:31:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1016  Schema:   QC_hit: No
# Query_time: 0.000354  Lock_time: 0.000219  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044688;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1016  Schema:   QC_hit: No
# Query_time: 0.000253  Lock_time: 0.000171  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044688;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:31:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000499  Lock_time: 0.000204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044689;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:31:28.281299' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:31:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000374  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044691;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:31:30.27834' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:31:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001117  Lock_time: 0.000887  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044693;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:31:32.278111' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:31:35
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000959  Lock_time: 0.000638  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044695;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:31:34.281573' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1018  Schema:   QC_hit: No
# Query_time: 0.000224  Lock_time: 0.000131  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044695;
SELECT
		  page_size, compress_ops, 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.000192  Lock_time: 0.000127  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044695;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:31:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000448  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044696;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:31:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1020  Schema:   QC_hit: No
# Query_time: 0.000353  Lock_time: 0.000269  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044698;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1020  Schema:   QC_hit: No
# Query_time: 0.000200  Lock_time: 0.000132  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044698;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:31:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000449  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044699;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:31:38.280872' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:31:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000630  Lock_time: 0.000249  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044700;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:31:39.278281' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:31:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000543  Lock_time: 0.000255  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044702;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:31:41.278283' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:31:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000614  Lock_time: 0.000374  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044703;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:31:42.281189' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:31:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000496  Lock_time: 0.000229  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044705;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:31:44.278357' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1022  Schema:   QC_hit: No
# Query_time: 0.000258  Lock_time: 0.000178  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044705;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1022  Schema:   QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000225  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044705;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:31:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000472  Lock_time: 0.000229  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044706;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:31:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1024  Schema:   QC_hit: No
# Query_time: 0.000411  Lock_time: 0.000272  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044708;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1024  Schema:   QC_hit: No
# Query_time: 0.000303  Lock_time: 0.000214  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044708;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001291  Lock_time: 0.000600  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044708;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:31:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000505  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044710;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:31:49.280504' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:31:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000692  Lock_time: 0.000380  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044711;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:31:50.278496' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:31:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000933  Lock_time: 0.000670  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044712;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:31:51.280971' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:31:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000481  Lock_time: 0.000261  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044713;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:31:52.278144' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:31:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000549  Lock_time: 0.000256  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044715;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1026  Schema:   QC_hit: No
# Query_time: 0.000382  Lock_time: 0.000243  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044715;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1026  Schema:   QC_hit: No
# Query_time: 0.000261  Lock_time: 0.000162  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044715;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:31:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1028  Schema:   QC_hit: No
# Query_time: 0.000361  Lock_time: 0.000279  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044718;
SELECT
		  page_size, compress_ops, 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.000322  Lock_time: 0.000248  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044718;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:32:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000500  Lock_time: 0.000228  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044720;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:31:59.280738' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:32:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000452  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044721;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:32:00.281367' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:32:02
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000509  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044722;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:32:01.27772' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:32:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1030  Schema:   QC_hit: No
# Query_time: 0.000251  Lock_time: 0.000171  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044725;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1030  Schema:   QC_hit: No
# Query_time: 0.000206  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044725;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:32:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1032  Schema:   QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000183  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044728;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1032  Schema:   QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000161  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044728;
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.242.31.6]
# Thread_id: 611  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001318  Lock_time: 0.000616  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1633044728;
select RES.ID_,
      RES.REV_,
      RES.DUEDATE_,
      RES.PROCESS_INSTANCE_ID_,
      RES.EXCLUSIVE_
    
    from ACT_RU_JOB RES

    where (RES.RETRIES_ > 0)
      and (
       
          RES.DUEDATE_ is null or
       
          RES.DUEDATE_ <= '2021-09-30 23:32:08.639'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-09-30 23:32:08.639')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '7d882ebc-2244-11ec-a5f8-fe4e396b8549'
	   
	 ) 
	)
   
   
         
        )
       

      and ( 
    ( 
    RES.EXCLUSIVE_ = 1
          and not exists(
            select J2.ID_ from ACT_RU_JOB J2
            where J2.PROCESS_INSTANCE_ID_ = RES.PROCESS_INSTANCE_ID_                                           -- from the same proc. inst.
            and (J2.EXCLUSIVE_ = 1)                                                              -- also exclusive
            and (J2.LOCK_OWNER_ is not null and J2.LOCK_EXP_TIME_ >= '2021-09-30 23:32:08.639')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210930 23:32:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000487  Lock_time: 0.000222  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1633044730;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:32:09.278391' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:32:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001129  Lock_time: 0.000833  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044732;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:32:11.277999' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:32:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000500  Lock_time: 0.000281  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044733;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:32:12.277726' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:32:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000827  Lock_time: 0.000564  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044734;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:32:13.278627' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:32:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000685  Lock_time: 0.000371  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044735;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:32:14.277736' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1034  Schema:   QC_hit: No
# Query_time: 0.000276  Lock_time: 0.000159  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044735;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1034  Schema:   QC_hit: No
# Query_time: 0.000170  Lock_time: 0.000099  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044735;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:32:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000538  Lock_time: 0.000263  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044736;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:32:15.277995' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:32:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000581  Lock_time: 0.000272  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044737;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:32:16.278817' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:32:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1036  Schema:   QC_hit: No
# Query_time: 0.000492  Lock_time: 0.000346  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044738;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1036  Schema:   QC_hit: No
# Query_time: 0.000302  Lock_time: 0.000219  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044738;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:32:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001992  Lock_time: 0.001693  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044739;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:32:18.278203' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:32:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000554  Lock_time: 0.000248  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044741;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:32:20.281407' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:32:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000736  Lock_time: 0.000239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044742;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001120  Lock_time: 0.000955  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044742;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:32:21.280635' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:32:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000325  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044743;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:32:22.277772' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:32:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000472  Lock_time: 0.000206  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044745;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:32:24.278874' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1038  Schema:   QC_hit: No
# Query_time: 0.000326  Lock_time: 0.000240  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044745;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1038  Schema:   QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000199  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044745;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:32:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000581  Lock_time: 0.000249  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044746;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:32:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1040  Schema:   QC_hit: No
# Query_time: 0.000405  Lock_time: 0.000308  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044748;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1040  Schema:   QC_hit: No
# Query_time: 0.000299  Lock_time: 0.000227  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044748;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000568  Lock_time: 0.000215  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044748;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:32:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000742  Lock_time: 0.000285  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044750;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:32:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000498  Lock_time: 0.000261  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044751;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:32:30.281126' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:32:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002078  Lock_time: 0.001228  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044752;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:32:31.277745' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:32:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000522  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044753;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:32:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000482  Lock_time: 0.000190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044754;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:32:33.278156' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:32:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1042  Schema:   QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000176  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044755;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1042  Schema:   QC_hit: No
# Query_time: 0.000193  Lock_time: 0.000118  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044755;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:32:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000570  Lock_time: 0.000191  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044756;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:32:35.279368' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:32:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000441  Lock_time: 0.000167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044757;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:32:36.283268' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:32:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1044  Schema:   QC_hit: No
# Query_time: 0.000417  Lock_time: 0.000279  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044758;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1044  Schema:   QC_hit: No
# Query_time: 0.000450  Lock_time: 0.000367  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044758;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000920  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044758;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:32:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001788  Lock_time: 0.001324  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044760;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:32:39.279995' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:32:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000419  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044761;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:32:40.278128' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:32:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000393  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044764;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:32:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000367  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044765;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:32:44.278465' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1046  Schema:   QC_hit: No
# Query_time: 0.000304  Lock_time: 0.000213  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044765;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1046  Schema:   QC_hit: No
# Query_time: 0.000229  Lock_time: 0.000158  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044765;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:32:47
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002202  Lock_time: 0.001490  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044767;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:32:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1048  Schema:   QC_hit: No
# Query_time: 0.000436  Lock_time: 0.000291  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044768;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1048  Schema:   QC_hit: No
# Query_time: 0.000368  Lock_time: 0.000237  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044768;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002276  Lock_time: 0.001945  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044768;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:32:47.278108' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:32:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000964  Lock_time: 0.000197  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044769;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:32:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000387  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044770;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:32:49.27809' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:32:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000569  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044771;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:32:50.278409' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:32:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000445  Lock_time: 0.000190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044774;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:32:53.278196' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:32:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000983  Lock_time: 0.000255  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044775;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1050  Schema:   QC_hit: No
# Query_time: 0.000385  Lock_time: 0.000262  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044775;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1050  Schema:   QC_hit: No
# Query_time: 0.000211  Lock_time: 0.000136  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044775;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:32:56
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000494  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044776;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:32:55.278068' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:32:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002004  Lock_time: 0.001321  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044777;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:32:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1052  Schema:   QC_hit: No
# Query_time: 0.000344  Lock_time: 0.000255  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044778;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1052  Schema:   QC_hit: No
# Query_time: 0.000340  Lock_time: 0.000249  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044778;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001854  Lock_time: 0.001510  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044778;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:32:57.278652' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:32:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000527  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044779;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:32:58.277635' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:33:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000925  Lock_time: 0.000193  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044781;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:33:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.007464  Lock_time: 0.007184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044784;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:33:03.278088' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:33:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001366  Lock_time: 0.001163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044785;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:33:04.27993' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1054  Schema:   QC_hit: No
# Query_time: 0.000359  Lock_time: 0.000222  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044785;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1054  Schema:   QC_hit: No
# Query_time: 0.001657  Lock_time: 0.001575  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044785;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:33:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001791  Lock_time: 0.001449  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044786;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:33:05.280745' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:33:07
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000515  Lock_time: 0.000191  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044787;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:33:06.278117' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:33:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1056  Schema:   QC_hit: No
# Query_time: 0.000474  Lock_time: 0.000313  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044788;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1056  Schema:   QC_hit: No
# Query_time: 0.000347  Lock_time: 0.000257  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044788;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000416  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044788;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:33:07.278922' order by MODIFIED_DATE ASC limit 1;
# User@Host: so_user[so_user] @  [10.242.31.6]
# Thread_id: 611  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001749  Lock_time: 0.000786  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1633044788;
select RES.ID_,
      RES.REV_,
      RES.DUEDATE_,
      RES.PROCESS_INSTANCE_ID_,
      RES.EXCLUSIVE_
    
    from ACT_RU_JOB RES

    where (RES.RETRIES_ > 0)
      and (
       
          RES.DUEDATE_ is null or
       
          RES.DUEDATE_ <= '2021-09-30 23:33:08.644'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-09-30 23:33:08.644')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '7d882ebc-2244-11ec-a5f8-fe4e396b8549'
	   
	 ) 
	)
   
   
         
        )
       

      and ( 
    ( 
    RES.EXCLUSIVE_ = 1
          and not exists(
            select J2.ID_ from ACT_RU_JOB J2
            where J2.PROCESS_INSTANCE_ID_ = RES.PROCESS_INSTANCE_ID_                                           -- from the same proc. inst.
            and (J2.EXCLUSIVE_ = 1)                                                              -- also exclusive
            and (J2.LOCK_OWNER_ is not null and J2.LOCK_EXP_TIME_ >= '2021-09-30 23:33:08.644')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210930 23:33:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000457  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1633044789;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:33:08.278128' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:33:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001464  Lock_time: 0.001093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044790;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:33:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001456  Lock_time: 0.001162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044793;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:33:12.280591' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:33:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000415  Lock_time: 0.000185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044795;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:33:14.277914' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1058  Schema:   QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000177  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044795;
SELECT
		  page_size, compress_ops, 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.000257  Lock_time: 0.000184  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044795;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:33:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000327  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044796;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:33:15.278012' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:33:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000467  Lock_time: 0.000227  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044797;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:33:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1060  Schema:   QC_hit: No
# Query_time: 0.000312  Lock_time: 0.000224  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044798;
SELECT
		  page_size, compress_ops, 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.000248  Lock_time: 0.000170  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044798;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:33:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000502  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044799;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:33:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000904  Lock_time: 0.000237  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044800;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:33:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001504  Lock_time: 0.001122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044801;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:33:20.277837' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:33:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000853  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044802;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:33:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000435  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044805;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:33:24.278506' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1062  Schema:   QC_hit: No
# Query_time: 0.000335  Lock_time: 0.000215  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044805;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1062  Schema:   QC_hit: No
# Query_time: 0.000460  Lock_time: 0.000374  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044805;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:33:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000481  Lock_time: 0.000203  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044806;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:33:25.278789' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:33:27
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001825  Lock_time: 0.001541  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044807;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:33:26.27813' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:33:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1064  Schema:   QC_hit: No
# Query_time: 0.000360  Lock_time: 0.000258  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044808;
SELECT
                  page_size, buffer_pool_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.000263  Lock_time: 0.000177  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044808;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000838  Lock_time: 0.000247  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044808;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:33:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000442  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044810;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:33:29.280938' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:33:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000465  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044811;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:33:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000554  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044813;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:33:32.277876' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:33:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1066  Schema:   QC_hit: No
# Query_time: 0.000207  Lock_time: 0.000149  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044815;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1066  Schema:   QC_hit: No
# Query_time: 0.000141  Lock_time: 0.000093  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044815;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:33:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.006175  Lock_time: 0.005917  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044816;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:33:35.278685' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:33:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1068  Schema:   QC_hit: No
# Query_time: 0.000266  Lock_time: 0.000181  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044818;
SELECT
		  page_size, compress_ops, 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.000257  Lock_time: 0.000180  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044818;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:33:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633044819;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:33:38.278945' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:33:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000648  Lock_time: 0.000313  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044821;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:33:40.278896' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:33:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000497  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044822;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:33:41.278846' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:33:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001533  Lock_time: 0.001299  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044823;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:33:42.278095' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:33:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001364  Lock_time: 0.001063  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044824;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:33:43.278918' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:33:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000354  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044825;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:33:44.27827' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1070  Schema:   QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000142  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044825;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1070  Schema:   QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000137  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044825;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:33:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000758  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044826;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:33:47
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000327  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044827;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:33:46.284364' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:33:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1072  Schema:   QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000193  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044828;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1072  Schema:   QC_hit: No
# Query_time: 0.000223  Lock_time: 0.000127  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044828;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000558  Lock_time: 0.000253  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044828;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:33:47.278254' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:33:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002112  Lock_time: 0.001790  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044830;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:33:49.278678' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:33:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000426  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044835;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:33:54.27837' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1074  Schema:   QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000156  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044835;
SELECT
		  page_size, compress_ops, 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.000216  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044835;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:33:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000447  Lock_time: 0.000197  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044837;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:33:56.278023' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:33:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1076  Schema:   QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000176  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044838;
SELECT
		  page_size, compress_ops, 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.000325  Lock_time: 0.000239  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044838;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:34:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000627  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044840;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:34:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002394  Lock_time: 0.002071  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044841;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:34:00.278067' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:34:02
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001913  Lock_time: 0.001376  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044842;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:34:01.278587' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:34:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000600  Lock_time: 0.000278  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044844;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:34:03.277792' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:34:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1078  Schema:   QC_hit: No
# Query_time: 0.000601  Lock_time: 0.000437  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044845;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1078  Schema:   QC_hit: No
# Query_time: 0.000229  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044845;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:34:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001624  Lock_time: 0.001246  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044846;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:34:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1080  Schema:   QC_hit: No
# Query_time: 0.000382  Lock_time: 0.000239  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044848;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1080  Schema:   QC_hit: No
# Query_time: 0.000300  Lock_time: 0.000209  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044848;
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.242.31.6]
# Thread_id: 611  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001613  Lock_time: 0.000786  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1633044848;
select RES.ID_,
      RES.REV_,
      RES.DUEDATE_,
      RES.PROCESS_INSTANCE_ID_,
      RES.EXCLUSIVE_
    
    from ACT_RU_JOB RES

    where (RES.RETRIES_ > 0)
      and (
       
          RES.DUEDATE_ is null or
       
          RES.DUEDATE_ <= '2021-09-30 23:34:08.644'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-09-30 23:34:08.644')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '7d882ebc-2244-11ec-a5f8-fe4e396b8549'
	   
	 ) 
	)
   
   
         
        )
       

      and ( 
    ( 
    RES.EXCLUSIVE_ = 1
          and not exists(
            select J2.ID_ from ACT_RU_JOB J2
            where J2.PROCESS_INSTANCE_ID_ = RES.PROCESS_INSTANCE_ID_                                           -- from the same proc. inst.
            and (J2.EXCLUSIVE_ = 1)                                                              -- also exclusive
            and (J2.LOCK_OWNER_ is not null and J2.LOCK_EXP_TIME_ >= '2021-09-30 23:34:08.644')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210930 23:34:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000632  Lock_time: 0.000196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1633044853;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:34:12.278231' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:34:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000415  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044854;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:34:13.27896' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:34:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1086  Schema:   QC_hit: No
# Query_time: 0.000490  Lock_time: 0.000349  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044855;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1086  Schema:   QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000166  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044855;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:34:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000477  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044856;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:34:15.278038' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:34:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1088  Schema:   QC_hit: No
# Query_time: 0.000403  Lock_time: 0.000190  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044858;
SELECT
                  page_size, buffer_pool_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.000262  Lock_time: 0.000166  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044858;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001444  Lock_time: 0.001207  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044858;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:34:17.27774' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:34:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001485  Lock_time: 0.001187  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044860;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:34:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001533  Lock_time: 0.001238  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044863;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:34:22.27912' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:34:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001036  Lock_time: 0.000561  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044864;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:34:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000785  Lock_time: 0.000255  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044865;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:34:24.278868' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1090  Schema:   QC_hit: No
# Query_time: 0.000295  Lock_time: 0.000198  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044865;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1090  Schema:   QC_hit: No
# Query_time: 0.000744  Lock_time: 0.000649  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044865;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:34:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1092  Schema:   QC_hit: No
# Query_time: 0.000382  Lock_time: 0.000294  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044868;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1092  Schema:   QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044868;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:34:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000619  Lock_time: 0.000284  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044873;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:34:32.278054' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:34:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000571  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044874;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:34:33.278769' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:34:35
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001171  Lock_time: 0.000868  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044875;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:34:34.277844' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1094  Schema:   QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000210  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044875;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1094  Schema:   QC_hit: No
# Query_time: 0.000157  Lock_time: 0.000097  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044875;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:34:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001420  Lock_time: 0.001036  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044876;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:34:35.278235' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:34:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1096  Schema:   QC_hit: No
# Query_time: 0.000523  Lock_time: 0.000284  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044878;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1096  Schema:   QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000139  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044878;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:34:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000618  Lock_time: 0.000294  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044879;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:34:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.008506  Lock_time: 0.007825  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044880;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:34:39.278362' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:34:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001645  Lock_time: 0.001339  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044881;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:34:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000681  Lock_time: 0.000265  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044883;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:34:42.281213' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:34:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001073  Lock_time: 0.000268  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044884;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:34:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000323  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044885;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:34:44.277965' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1098  Schema:   QC_hit: No
# Query_time: 0.000236  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044885;
SELECT
		  page_size, compress_ops, 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.000256  Lock_time: 0.000194  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044885;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:34:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1100  Schema:   QC_hit: No
# Query_time: 0.000834  Lock_time: 0.000738  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044888;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1100  Schema:   QC_hit: No
# Query_time: 0.000261  Lock_time: 0.000178  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044888;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001703  Lock_time: 0.001414  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044888;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:34:47.27824' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:34:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001593  Lock_time: 0.001224  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044889;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:34:48.278616' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:34:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001906  Lock_time: 0.001280  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044890;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:34:49.278226' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:34:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000600  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044891;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:34:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000839  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044893;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:34:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000516  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044895;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:34:54.277936' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1102  Schema:   QC_hit: No
# Query_time: 0.000299  Lock_time: 0.000215  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044895;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1102  Schema:   QC_hit: No
# Query_time: 0.000312  Lock_time: 0.000230  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044895;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:34:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000699  Lock_time: 0.000292  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044897;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:34:56.278704' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:34:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1104  Schema:   QC_hit: No
# Query_time: 0.000286  Lock_time: 0.000197  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044898;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1104  Schema:   QC_hit: No
# Query_time: 0.000280  Lock_time: 0.000186  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044898;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:34:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000852  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044899;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:35:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000371  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044900;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:34:59.278343' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:35:02
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000525  Lock_time: 0.000155  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044902;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:35:01.278004' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:35:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000442  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044904;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:35:03.281147' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:35:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000549  Lock_time: 0.000257  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044905;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:35:04.278368' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1106  Schema:   QC_hit: No
# Query_time: 0.000196  Lock_time: 0.000132  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044905;
SELECT
		  page_size, compress_ops, 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.000231  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044905;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:35:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000508  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044906;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:35:05.281116' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:35:07
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000991  Lock_time: 0.000650  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044907;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:35:06.278223' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:35:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1108  Schema:   QC_hit: No
# Query_time: 0.000314  Lock_time: 0.000219  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044908;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1108  Schema:   QC_hit: No
# Query_time: 0.000298  Lock_time: 0.000217  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044908;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000563  Lock_time: 0.000294  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044908;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:35:07.280345' order by MODIFIED_DATE ASC limit 1;
# User@Host: so_user[so_user] @  [10.242.31.6]
# Thread_id: 611  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001551  Lock_time: 0.000735  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1633044908;
select RES.ID_,
      RES.REV_,
      RES.DUEDATE_,
      RES.PROCESS_INSTANCE_ID_,
      RES.EXCLUSIVE_
    
    from ACT_RU_JOB RES

    where (RES.RETRIES_ > 0)
      and (
       
          RES.DUEDATE_ is null or
       
          RES.DUEDATE_ <= '2021-09-30 23:35:08.647'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-09-30 23:35:08.647')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '7d882ebc-2244-11ec-a5f8-fe4e396b8549'
	   
	 ) 
	)
   
   
         
        )
       

      and ( 
    ( 
    RES.EXCLUSIVE_ = 1
          and not exists(
            select J2.ID_ from ACT_RU_JOB J2
            where J2.PROCESS_INSTANCE_ID_ = RES.PROCESS_INSTANCE_ID_                                           -- from the same proc. inst.
            and (J2.EXCLUSIVE_ = 1)                                                              -- also exclusive
            and (J2.LOCK_OWNER_ is not null and J2.LOCK_EXP_TIME_ >= '2021-09-30 23:35:08.647')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210930 23:35:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000588  Lock_time: 0.000217  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1633044911;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:35:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000554  Lock_time: 0.000247  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044914;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:35:13.278089' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:35:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000506  Lock_time: 0.000225  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044915;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:35:14.278642' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1110  Schema:   QC_hit: No
# Query_time: 0.000336  Lock_time: 0.000238  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044915;
SELECT
		  page_size, compress_ops, 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.000348  Lock_time: 0.000265  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044915;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:35:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1112  Schema:   QC_hit: No
# Query_time: 0.000326  Lock_time: 0.000219  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044918;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1112  Schema:   QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000198  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044918;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:35:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000722  Lock_time: 0.000374  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044920;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:35:19.281087' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:35:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001083  Lock_time: 0.000363  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044921;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:35:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000448  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044922;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:35:21.280513' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:35:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000428  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044924;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:35:23.27827' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:35:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000529  Lock_time: 0.000215  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044925;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:35:24.280417' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1114  Schema:   QC_hit: No
# Query_time: 0.000281  Lock_time: 0.000171  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044925;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1114  Schema:   QC_hit: No
# Query_time: 0.000231  Lock_time: 0.000157  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044925;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:35:27
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000560  Lock_time: 0.000195  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044927;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:35:26.278402' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:35:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1116  Schema:   QC_hit: No
# Query_time: 0.000270  Lock_time: 0.000178  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044928;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1116  Schema:   QC_hit: No
# Query_time: 0.000209  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044928;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:35:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000432  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044929;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:35:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000560  Lock_time: 0.000357  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044930;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:35:29.28092' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:35:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000550  Lock_time: 0.000227  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044931;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:35:30.278611' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:35:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000365  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044933;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:35:32.2815' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:35:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000586  Lock_time: 0.000290  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044934;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:35:33.277916' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:35:35
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000683  Lock_time: 0.000239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044935;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:35:34.278835' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1118  Schema:   QC_hit: No
# Query_time: 0.000362  Lock_time: 0.000271  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044935;
SELECT
		  page_size, compress_ops, 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.000215  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044935;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:35:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001540  Lock_time: 0.001215  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044936;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:35:35.278469' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:35:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1120  Schema:   QC_hit: No
# Query_time: 0.000242  Lock_time: 0.000150  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044938;
SELECT
		  page_size, compress_ops, 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.000278  Lock_time: 0.000205  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044938;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:35:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000510  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044940;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:35:39.281047' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:35:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002406  Lock_time: 0.001661  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044941;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:35:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000836  Lock_time: 0.000345  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044942;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:35:41.278579' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:35:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000784  Lock_time: 0.000200  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044943;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:35:42.278005' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:35:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000602  Lock_time: 0.000230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044944;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:35:43.278374' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:35:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1122  Schema:   QC_hit: No
# Query_time: 0.000375  Lock_time: 0.000278  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044945;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1122  Schema:   QC_hit: No
# Query_time: 0.000244  Lock_time: 0.000151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044945;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:35:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1124  Schema:   QC_hit: No
# Query_time: 0.000223  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044948;
SELECT
		  page_size, compress_ops, 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.000198  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044948;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:35:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000504  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044949;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:35:48.279419' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:35:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001776  Lock_time: 0.001414  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044951;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:35:50.278669' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:35:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000479  Lock_time: 0.000185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044952;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:35:51.278768' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:35:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000427  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044953;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:35:52.278493' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:35:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001692  Lock_time: 0.001347  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044954;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:35:53.278472' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:35:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1126  Schema:   QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044955;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1126  Schema:   QC_hit: No
# Query_time: 0.000652  Lock_time: 0.000371  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044955;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:35:56
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000393  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044956;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:35:55.2809' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:35:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000431  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044957;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:35:56.278185' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:35:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1128  Schema:   QC_hit: No
# Query_time: 0.000363  Lock_time: 0.000221  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044958;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1128  Schema:   QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000199  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044958;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001519  Lock_time: 0.001236  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044958;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:35:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000439  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044959;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:35:58.282151' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:36:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000372  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044960;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:36:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000470  Lock_time: 0.000269  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044961;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:36:00.280932' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:36:02
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000641  Lock_time: 0.000284  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044962;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:36:01.278473' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:36:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000660  Lock_time: 0.000338  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044963;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:36:02.281512' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:36:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000411  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044964;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:36:03.277824' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:36:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000386  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044965;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:36:04.278284' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1130  Schema:   QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000163  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044965;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1130  Schema:   QC_hit: No
# Query_time: 0.000161  Lock_time: 0.000103  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044965;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:36:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000436  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044966;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:36:05.281565' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:36:07
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000412  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044967;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:36:06.277737' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:36:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1132  Schema:   QC_hit: No
# Query_time: 0.000353  Lock_time: 0.000258  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044968;
SELECT
		  page_size, compress_ops, 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.000327  Lock_time: 0.000250  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044968;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000707  Lock_time: 0.000466  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044968;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: so_user[so_user] @  [10.242.31.6]
# Thread_id: 611  Schema: camundabpmn  QC_hit: No
# Query_time: 0.002162  Lock_time: 0.000986  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1633044968;
select RES.ID_,
      RES.REV_,
      RES.DUEDATE_,
      RES.PROCESS_INSTANCE_ID_,
      RES.EXCLUSIVE_
    
    from ACT_RU_JOB RES

    where (RES.RETRIES_ > 0)
      and (
       
          RES.DUEDATE_ is null or
       
          RES.DUEDATE_ <= '2021-09-30 23:36:08.643'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-09-30 23:36:08.643')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '7d882ebc-2244-11ec-a5f8-fe4e396b8549'
	   
	 ) 
	)
   
   
         
        )
       

      and ( 
    ( 
    RES.EXCLUSIVE_ = 1
          and not exists(
            select J2.ID_ from ACT_RU_JOB J2
            where J2.PROCESS_INSTANCE_ID_ = RES.PROCESS_INSTANCE_ID_                                           -- from the same proc. inst.
            and (J2.EXCLUSIVE_ = 1)                                                              -- also exclusive
            and (J2.LOCK_OWNER_ is not null and J2.LOCK_EXP_TIME_ >= '2021-09-30 23:36:08.643')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210930 23:36:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002008  Lock_time: 0.001668  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1633044970;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:36:09.278562' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:36:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001439  Lock_time: 0.001138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044971;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:36:10.280815' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:36:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000415  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044972;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:36:11.278779' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:36:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001086  Lock_time: 0.000369  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044974;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:36:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1134  Schema:   QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000153  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044975;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1134  Schema:   QC_hit: No
# Query_time: 0.000257  Lock_time: 0.000176  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044975;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:36:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000456  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044976;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:36:15.27795' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:36:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1136  Schema:   QC_hit: No
# Query_time: 0.000340  Lock_time: 0.000256  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044978;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1136  Schema:   QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044978;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:36:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000418  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044981;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:36:20.278289' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:36:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001221  Lock_time: 0.000944  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044982;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:36:21.278097' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:36:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000585  Lock_time: 0.000225  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044983;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:36:22.278249' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:36:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000394  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044984;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:36:23.27824' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:36:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000479  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044985;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:36:24.281168' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1138  Schema:   QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000217  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044985;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1138  Schema:   QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000226  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044985;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:36:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1140  Schema:   QC_hit: No
# Query_time: 0.000306  Lock_time: 0.000230  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044988;
SELECT
		  page_size, compress_ops, 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.000282  Lock_time: 0.000213  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044988;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:36:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000469  Lock_time: 0.000202  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044990;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:36:29.277851' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:36:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000355  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044991;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:36:30.277729' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:36:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633044993;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:36:32.277806' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:36:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001052  Lock_time: 0.000297  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044994;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:36:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1142  Schema:   QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000183  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044995;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1142  Schema:   QC_hit: No
# Query_time: 0.000217  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044995;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:36:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000587  Lock_time: 0.000260  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044996;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:36:35.278371' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:36:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1144  Schema:   QC_hit: No
# Query_time: 0.000375  Lock_time: 0.000196  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633044998;
SELECT
                  page_size, buffer_pool_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.000258  Lock_time: 0.000182  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633044998;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000507  Lock_time: 0.000227  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633044998;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:36:37.277801' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:36:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000783  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045000;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:36:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000537  Lock_time: 0.000275  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045001;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:36:40.27852' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:36:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000418  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045003;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:36:42.280585' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:36:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000394  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045004;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:36:43.280672' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:36:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1146  Schema:   QC_hit: No
# Query_time: 0.000335  Lock_time: 0.000234  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045005;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1146  Schema:   QC_hit: No
# Query_time: 0.000328  Lock_time: 0.000275  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045005;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:36:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000423  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045006;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:36:45.278635' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:36:47
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000437  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045007;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:36:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1148  Schema:   QC_hit: No
# Query_time: 0.000351  Lock_time: 0.000262  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045008;
SELECT
                  page_size, buffer_pool_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.000342  Lock_time: 0.000244  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045008;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000422  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045008;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:36:47.278542' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:36:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001849  Lock_time: 0.001426  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045009;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:36:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633045011;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:36:50.27752' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:36:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003548  Lock_time: 0.003240  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045012;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:36:51.278123' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:36:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000421  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045013;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:36:52.277825' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:36:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000568  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045014;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:36:53.277678' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:36:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001423  Lock_time: 0.001132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045015;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1150  Schema:   QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000136  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045015;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1150  Schema:   QC_hit: No
# Query_time: 0.000182  Lock_time: 0.000113  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045015;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:36:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001597  Lock_time: 0.001221  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045017;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:36:56.278814' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:36:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1152  Schema:   QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000171  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045018;
SELECT
		  page_size, compress_ops, 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.000279  Lock_time: 0.000168  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045018;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000875  Lock_time: 0.000211  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045018;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:36:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000642  Lock_time: 0.000307  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045019;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:36:58.281075' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:37:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000347  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045020;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:37:02
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000512  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045022;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:37:01.278813' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:37:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001058  Lock_time: 0.000267  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045025;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1154  Schema:   QC_hit: No
# Query_time: 0.000314  Lock_time: 0.000176  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045025;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1154  Schema:   QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000179  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045025;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:37:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000580  Lock_time: 0.000215  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045026;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:37:05.279427' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:37:07
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000365  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045027;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:37:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1156  Schema:   QC_hit: No
# Query_time: 0.000350  Lock_time: 0.000219  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045028;
SELECT
                  page_size, buffer_pool_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.000202  Lock_time: 0.000126  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045028;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001570  Lock_time: 0.001195  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045028;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:37:07.278429' order by MODIFIED_DATE ASC limit 1;
# User@Host: so_user[so_user] @  [10.242.31.6]
# Thread_id: 611  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001561  Lock_time: 0.000702  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1633045028;
select RES.ID_,
      RES.REV_,
      RES.DUEDATE_,
      RES.PROCESS_INSTANCE_ID_,
      RES.EXCLUSIVE_
    
    from ACT_RU_JOB RES

    where (RES.RETRIES_ > 0)
      and (
       
          RES.DUEDATE_ is null or
       
          RES.DUEDATE_ <= '2021-09-30 23:37:08.644'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-09-30 23:37:08.644')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '7d882ebc-2244-11ec-a5f8-fe4e396b8549'
	   
	 ) 
	)
   
   
         
        )
       

      and ( 
    ( 
    RES.EXCLUSIVE_ = 1
          and not exists(
            select J2.ID_ from ACT_RU_JOB J2
            where J2.PROCESS_INSTANCE_ID_ = RES.PROCESS_INSTANCE_ID_                                           -- from the same proc. inst.
            and (J2.EXCLUSIVE_ = 1)                                                              -- also exclusive
            and (J2.LOCK_OWNER_ is not null and J2.LOCK_EXP_TIME_ >= '2021-09-30 23:37:08.644')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210930 23:37:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003876  Lock_time: 0.001643  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1633045031;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:37:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001267  Lock_time: 0.000268  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045032;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:37:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000629  Lock_time: 0.000216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045033;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:37:12.278848' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:37:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000541  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045034;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:37:13.277968' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:37:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001101  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045035;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1158  Schema:   QC_hit: No
# Query_time: 0.000341  Lock_time: 0.000247  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045035;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1158  Schema:   QC_hit: No
# Query_time: 0.000306  Lock_time: 0.000191  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045035;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:37:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000790  Lock_time: 0.000386  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045037;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:37:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1160  Schema:   QC_hit: No
# Query_time: 0.000333  Lock_time: 0.000224  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045038;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1160  Schema:   QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000205  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045038;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001190  Lock_time: 0.000384  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045038;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:37:17.279094' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:37:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001221  Lock_time: 0.000269  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045039;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:37:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000478  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045040;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:37:19.285011' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000648  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045040;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:37:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000586  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045041;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:37:20.277689' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:37:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000401  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045042;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:37:21.277691' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:37:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000410  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045043;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:37:22.277784' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:37:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000517  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045045;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:37:24.278275' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1162  Schema:   QC_hit: No
# Query_time: 0.000303  Lock_time: 0.000176  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045045;
SELECT
		  page_size, compress_ops, 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.000241  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045045;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:37:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000899  Lock_time: 0.000596  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045046;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:37:27
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000529  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045047;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:37:26.278259' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:37:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1164  Schema:   QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000201  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045048;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1164  Schema:   QC_hit: No
# Query_time: 0.000184  Lock_time: 0.000109  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045048;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:37:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002034  Lock_time: 0.001570  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045049;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:37:28.278123' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:37:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001333  Lock_time: 0.000634  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045050;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:37:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000383  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045053;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:37:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000505  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045054;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:37:33.277899' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:37:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1166  Schema:   QC_hit: No
# Query_time: 0.000221  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045055;
SELECT
		  page_size, compress_ops, 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.000197  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045055;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:37:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001905  Lock_time: 0.001585  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045056;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:37:35.278005' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:37:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1168  Schema:   QC_hit: No
# Query_time: 0.000344  Lock_time: 0.000257  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045058;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1168  Schema:   QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000229  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045058;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:37:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000464  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045059;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:37:38.278092' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:37:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001384  Lock_time: 0.001115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045060;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:37:39.277676' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:37:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001042  Lock_time: 0.000276  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045062;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:37:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000506  Lock_time: 0.000235  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045063;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:37:42.285864' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:37:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000539  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045065;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:37:44.27798' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1170  Schema:   QC_hit: No
# Query_time: 0.000336  Lock_time: 0.000195  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045065;
SELECT
		  page_size, compress_ops, 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.000243  Lock_time: 0.000158  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045065;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:37:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000654  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045066;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:37:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1172  Schema:   QC_hit: No
# Query_time: 0.000326  Lock_time: 0.000246  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045068;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1172  Schema:   QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000218  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045068;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001686  Lock_time: 0.001339  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045068;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:37:47.277695' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:37:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000958  Lock_time: 0.000440  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045070;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:37:49.278409' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:37:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000561  Lock_time: 0.000246  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045071;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:37:50.278953' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:37:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000434  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045072;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:37:51.280777' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:37:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000380  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045073;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:37:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000743  Lock_time: 0.000352  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045074;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:37:53.278318' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:37:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1174  Schema:   QC_hit: No
# Query_time: 0.000224  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045075;
SELECT
		  page_size, compress_ops, 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.000202  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045075;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:37:56
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000581  Lock_time: 0.000254  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045076;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:37:55.278207' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:37:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000538  Lock_time: 0.000226  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045077;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:37:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1176  Schema:   QC_hit: No
# Query_time: 0.000341  Lock_time: 0.000211  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045078;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1176  Schema:   QC_hit: No
# Query_time: 0.000280  Lock_time: 0.000188  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045078;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000393  Lock_time: 0.000203  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045078;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:37:57.278278' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:38:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000380  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045080;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:37:59.280961' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:38:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001529  Lock_time: 0.001240  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045083;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:38:02.278217' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:38:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001770  Lock_time: 0.001371  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045085;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:38:04.280769' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1178  Schema:   QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000179  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045085;
SELECT
		  page_size, compress_ops, 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.000193  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045085;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:38:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000446  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045086;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:38:05.277955' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:38:07
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000594  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045087;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:38:06.278283' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:38:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1180  Schema:   QC_hit: No
# Query_time: 0.000541  Lock_time: 0.000358  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045088;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1180  Schema:   QC_hit: No
# Query_time: 0.000322  Lock_time: 0.000234  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045088;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000363  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045088;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:38:07.280825' order by MODIFIED_DATE ASC limit 1;
# User@Host: so_user[so_user] @  [10.242.31.6]
# Thread_id: 611  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001738  Lock_time: 0.000854  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1633045088;
select RES.ID_,
      RES.REV_,
      RES.DUEDATE_,
      RES.PROCESS_INSTANCE_ID_,
      RES.EXCLUSIVE_
    
    from ACT_RU_JOB RES

    where (RES.RETRIES_ > 0)
      and (
       
          RES.DUEDATE_ is null or
       
          RES.DUEDATE_ <= '2021-09-30 23:38:08.648'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-09-30 23:38:08.648')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '7d882ebc-2244-11ec-a5f8-fe4e396b8549'
	   
	 ) 
	)
   
   
         
        )
       

      and ( 
    ( 
    RES.EXCLUSIVE_ = 1
          and not exists(
            select J2.ID_ from ACT_RU_JOB J2
            where J2.PROCESS_INSTANCE_ID_ = RES.PROCESS_INSTANCE_ID_                                           -- from the same proc. inst.
            and (J2.EXCLUSIVE_ = 1)                                                              -- also exclusive
            and (J2.LOCK_OWNER_ is not null and J2.LOCK_EXP_TIME_ >= '2021-09-30 23:38:08.648')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210930 23:38:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000560  Lock_time: 0.000307  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1633045089;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:38:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000414  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045091;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:38:10.27849' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:38:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001826  Lock_time: 0.001516  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045092;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:38:11.278187' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:38:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000096  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045093;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:38:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000767  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045094;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:38:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1182  Schema:   QC_hit: No
# Query_time: 0.000244  Lock_time: 0.000155  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045095;
SELECT
		  page_size, compress_ops, 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.000221  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045095;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:38:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003190  Lock_time: 0.002857  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045096;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:38:15.278197' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:38:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001137  Lock_time: 0.000298  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045097;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:38:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1184  Schema:   QC_hit: No
# Query_time: 0.000334  Lock_time: 0.000249  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045098;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1184  Schema:   QC_hit: No
# Query_time: 0.000316  Lock_time: 0.000242  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045098;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:38:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633045102;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:38:21.279617' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:38:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045103;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:38:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1186  Schema:   QC_hit: No
# Query_time: 0.000239  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045105;
SELECT
		  page_size, compress_ops, 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.000187  Lock_time: 0.000116  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045105;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:38:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000400  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045106;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:38:25.27832' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:38:27
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000580  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045107;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:38:26.280823' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:38:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1188  Schema:   QC_hit: No
# Query_time: 0.000326  Lock_time: 0.000181  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045108;
SELECT
                  page_size, buffer_pool_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.000248  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045108;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000526  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045108;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:38:27.277725' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:38:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000437  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045109;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:38:28.278321' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:38:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002349  Lock_time: 0.001789  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045110;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:38:29.278062' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:38:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000891  Lock_time: 0.000200  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045112;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:38:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000623  Lock_time: 0.000213  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045114;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:38:33.278297' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:38:35
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000615  Lock_time: 0.000222  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045115;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:38:34.280677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1190  Schema:   QC_hit: No
# Query_time: 0.000396  Lock_time: 0.000228  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045115;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1190  Schema:   QC_hit: No
# Query_time: 0.001440  Lock_time: 0.001334  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045115;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:38:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000503  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045116;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:38:35.277762' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:38:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1192  Schema:   QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000168  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045118;
SELECT
		  page_size, compress_ops, 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.000195  Lock_time: 0.000127  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045118;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.008814  Lock_time: 0.008444  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045118;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:38:37.281068' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:38:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000530  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045119;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:38:38.278279' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:38:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000610  Lock_time: 0.000241  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045121;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:38:40.279081' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:38:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000640  Lock_time: 0.000241  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045124;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:38:43.277807' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:38:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000518  Lock_time: 0.000214  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045125;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:38:44.278257' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1195  Schema:   QC_hit: No
# Query_time: 0.000199  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045125;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1195  Schema:   QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000169  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045125;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:38:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000632  Lock_time: 0.000325  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045126;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:38:45.277992' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:38:47
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000970  Lock_time: 0.000284  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045127;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:38:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1197  Schema:   QC_hit: No
# Query_time: 0.000280  Lock_time: 0.000192  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045128;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1197  Schema:   QC_hit: No
# Query_time: 0.000355  Lock_time: 0.000276  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045128;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:38:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001687  Lock_time: 0.001403  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045130;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:38:49.277879' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:38:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000386  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045132;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:38:51.290962' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:38:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000336  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045133;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:38:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000476  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045135;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:38:54.278262' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1199  Schema:   QC_hit: No
# Query_time: 0.000434  Lock_time: 0.000316  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045135;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1199  Schema:   QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000150  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045135;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:38:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1201  Schema:   QC_hit: No
# Query_time: 0.000374  Lock_time: 0.000213  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045138;
SELECT
		  page_size, compress_ops, 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.000221  Lock_time: 0.000136  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045138;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001561  Lock_time: 0.001262  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045138;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:38:57.277856' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:38:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001870  Lock_time: 0.001575  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045139;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:38:58.278197' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:39:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001644  Lock_time: 0.001201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045140;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:38:59.278918' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:39:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000407  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045141;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:39:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000638  Lock_time: 0.000215  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045144;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:39:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1203  Schema:   QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000154  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045145;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1203  Schema:   QC_hit: No
# Query_time: 0.000181  Lock_time: 0.000111  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045145;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:39:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1205  Schema:   QC_hit: No
# Query_time: 0.000306  Lock_time: 0.000202  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045148;
SELECT
		  page_size, compress_ops, 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.000238  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045148;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000684  Lock_time: 0.000360  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045148;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:39:07.278192' order by MODIFIED_DATE ASC limit 1;
# User@Host: so_user[so_user] @  [10.242.31.6]
# Thread_id: 611  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001536  Lock_time: 0.000673  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1633045148;
select RES.ID_,
      RES.REV_,
      RES.DUEDATE_,
      RES.PROCESS_INSTANCE_ID_,
      RES.EXCLUSIVE_
    
    from ACT_RU_JOB RES

    where (RES.RETRIES_ > 0)
      and (
       
          RES.DUEDATE_ is null or
       
          RES.DUEDATE_ <= '2021-09-30 23:39:08.65'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-09-30 23:39:08.65')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '7d882ebc-2244-11ec-a5f8-fe4e396b8549'
	   
	 ) 
	)
   
   
         
        )
       

      and ( 
    ( 
    RES.EXCLUSIVE_ = 1
          and not exists(
            select J2.ID_ from ACT_RU_JOB J2
            where J2.PROCESS_INSTANCE_ID_ = RES.PROCESS_INSTANCE_ID_                                           -- from the same proc. inst.
            and (J2.EXCLUSIVE_ = 1)                                                              -- also exclusive
            and (J2.LOCK_OWNER_ is not null and J2.LOCK_EXP_TIME_ >= '2021-09-30 23:39:08.65')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210930 23:39:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001951  Lock_time: 0.001571  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1633045151;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:39:10.278393' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:39:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000528  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045154;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:39:13.277752' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:39:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000690  Lock_time: 0.000290  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045155;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:39:14.278155' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1207  Schema:   QC_hit: No
# Query_time: 0.000209  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045155;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1207  Schema:   QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045155;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:39:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1209  Schema:   QC_hit: No
# Query_time: 0.000221  Lock_time: 0.000139  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045158;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1209  Schema:   QC_hit: No
# Query_time: 0.000274  Lock_time: 0.000184  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045158;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:39:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001786  Lock_time: 0.001473  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045159;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:39:18.277931' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:39:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004910  Lock_time: 0.004586  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045160;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:39:19.278116' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:39:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000563  Lock_time: 0.000313  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045162;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:39:21.277927' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:39:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000386  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045164;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:39:23.280942' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:39:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1211  Schema:   QC_hit: No
# Query_time: 0.000354  Lock_time: 0.000253  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045165;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1211  Schema:   QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000187  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045165;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:39:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000558  Lock_time: 0.000253  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045166;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:39:25.278298' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:39:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1213  Schema:   QC_hit: No
# Query_time: 0.000323  Lock_time: 0.000186  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045168;
SELECT
		  page_size, compress_ops, 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.000238  Lock_time: 0.000139  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045168;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001507  Lock_time: 0.001190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045168;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:39:27.280712' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:39:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000849  Lock_time: 0.000223  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045171;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:39:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000465  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045172;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:39:31.278322' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:39:35
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000891  Lock_time: 0.000218  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045175;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1215  Schema:   QC_hit: No
# Query_time: 0.000387  Lock_time: 0.000247  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045175;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1215  Schema:   QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000164  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045175;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:39:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000855  Lock_time: 0.000577  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045177;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:39:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1217  Schema:   QC_hit: No
# Query_time: 0.000420  Lock_time: 0.000272  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045178;
SELECT
                  page_size, buffer_pool_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.000336  Lock_time: 0.000252  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045178;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:39:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000427  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045180;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:39:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001379  Lock_time: 0.001025  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045182;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:39:41.278171' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:39:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001588  Lock_time: 0.001307  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045183;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:39:42.278607' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:39:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000435  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045184;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:39:43.281434' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:39:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001580  Lock_time: 0.001346  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045185;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1219  Schema:   QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000167  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045185;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1219  Schema:   QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045185;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:39:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000621  Lock_time: 0.000345  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045186;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:39:47
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000437  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045187;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:39:46.277744' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:39:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1221  Schema:   QC_hit: No
# Query_time: 0.000315  Lock_time: 0.000226  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045188;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1221  Schema:   QC_hit: No
# Query_time: 0.000307  Lock_time: 0.000204  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045188;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633045188;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:39:47.280898' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:39:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000401  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045191;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:39:50.277865' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:39:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001647  Lock_time: 0.001356  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045192;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:39:51.277603' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:39:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000400  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045194;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:39:53.28088' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:39:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1223  Schema:   QC_hit: No
# Query_time: 0.000358  Lock_time: 0.000190  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045195;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1223  Schema:   QC_hit: No
# Query_time: 0.000233  Lock_time: 0.000163  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045195;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:39:56
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000371  Lock_time: 0.000107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045196;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:39:55.280701' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:39:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000457  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045197;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:39:56.277734' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:39:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1225  Schema:   QC_hit: No
# Query_time: 0.000362  Lock_time: 0.000270  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045198;
SELECT
		  page_size, compress_ops, 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.000390  Lock_time: 0.000309  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045198;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:40:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001458  Lock_time: 0.001217  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045200;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:39:59.277649' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:40:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000361  Lock_time: 0.000083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045201;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:40:00.280883' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:40:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000334  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045203;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:40:02.281242' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:40:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000496  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045205;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:40:04.278342' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1227  Schema:   QC_hit: No
# Query_time: 0.000348  Lock_time: 0.000225  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045205;
SELECT
                  page_size, buffer_pool_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.000306  Lock_time: 0.000226  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045205;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:40:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001792  Lock_time: 0.001527  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045206;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:40:05.278288' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:40:07
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000336  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045207;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:40:06.280557' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:40:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1229  Schema:   QC_hit: No
# Query_time: 0.000439  Lock_time: 0.000301  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045208;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1229  Schema:   QC_hit: No
# Query_time: 0.000341  Lock_time: 0.000252  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045208;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000950  Lock_time: 0.000222  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045208;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: so_user[so_user] @  [10.242.31.6]
# Thread_id: 611  Schema: camundabpmn  QC_hit: No
# Query_time: 0.002728  Lock_time: 0.001939  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1633045208;
select RES.ID_,
      RES.REV_,
      RES.DUEDATE_,
      RES.PROCESS_INSTANCE_ID_,
      RES.EXCLUSIVE_
    
    from ACT_RU_JOB RES

    where (RES.RETRIES_ > 0)
      and (
       
          RES.DUEDATE_ is null or
       
          RES.DUEDATE_ <= '2021-09-30 23:40:08.652'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-09-30 23:40:08.652')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '7d882ebc-2244-11ec-a5f8-fe4e396b8549'
	   
	 ) 
	)
   
   
         
        )
       

      and ( 
    ( 
    RES.EXCLUSIVE_ = 1
          and not exists(
            select J2.ID_ from ACT_RU_JOB J2
            where J2.PROCESS_INSTANCE_ID_ = RES.PROCESS_INSTANCE_ID_                                           -- from the same proc. inst.
            and (J2.EXCLUSIVE_ = 1)                                                              -- also exclusive
            and (J2.LOCK_OWNER_ is not null and J2.LOCK_EXP_TIME_ >= '2021-09-30 23:40:08.652')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210930 23:40:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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
use vid_openecomp_epsdk;
SET timestamp=1633045209;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:40:08.277791' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:40:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000487  Lock_time: 0.000216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045212;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:40:11.278264' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:40:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000476  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045213;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:40:12.278586' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:40:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633045214;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:40:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000675  Lock_time: 0.000292  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045215;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:40:14.278184' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1231  Schema:   QC_hit: No
# Query_time: 0.000363  Lock_time: 0.000235  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045215;
SELECT
		  page_size, compress_ops, 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.000280  Lock_time: 0.000193  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045215;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:40:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001834  Lock_time: 0.001514  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045217;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:40:16.277939' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:40:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1233  Schema:   QC_hit: No
# Query_time: 0.000358  Lock_time: 0.000261  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045218;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1233  Schema:   QC_hit: No
# Query_time: 0.000275  Lock_time: 0.000167  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045218;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001579  Lock_time: 0.001184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045218;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:40:17.277871' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:40:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001078  Lock_time: 0.000742  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045219;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:40:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000659  Lock_time: 0.000241  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045222;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:40:21.277929' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:40:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1235  Schema:   QC_hit: No
# Query_time: 0.000314  Lock_time: 0.000163  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045225;
SELECT
                  page_size, buffer_pool_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.000301  Lock_time: 0.000224  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045225;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:40:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000451  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045226;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:40:25.277626' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:40:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1237  Schema:   QC_hit: No
# Query_time: 0.000346  Lock_time: 0.000257  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045228;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1237  Schema:   QC_hit: No
# Query_time: 0.000322  Lock_time: 0.000240  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045228;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:40:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000508  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045229;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:40:28.281505' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:40:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000480  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045230;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:40:29.277513' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:40:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001369  Lock_time: 0.000866  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045231;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:40:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000664  Lock_time: 0.000238  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045234;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:40:33.277986' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:40:35
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001009  Lock_time: 0.000251  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045235;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1239  Schema:   QC_hit: No
# Query_time: 0.000286  Lock_time: 0.000213  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045235;
SELECT
		  page_size, compress_ops, 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.000296  Lock_time: 0.000232  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045235;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:40:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001626  Lock_time: 0.001124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045237;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:40:36.278305' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:40:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1241  Schema:   QC_hit: No
# Query_time: 0.000338  Lock_time: 0.000254  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045238;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1241  Schema:   QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000211  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045238;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000469  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045238;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:40:37.277618' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:40:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000475  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045240;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:40:39.277943' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:40:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000700  Lock_time: 0.000294  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045244;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:40:43.280628' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:40:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002346  Lock_time: 0.001381  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045245;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1243  Schema:   QC_hit: No
# Query_time: 0.000315  Lock_time: 0.000178  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045245;
SELECT
		  page_size, compress_ops, 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.000279  Lock_time: 0.000173  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045245;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:40:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001011  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045246;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:40:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1245  Schema:   QC_hit: No
# Query_time: 0.000307  Lock_time: 0.000231  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045248;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1245  Schema:   QC_hit: No
# Query_time: 0.000197  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045248;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633045248;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:40:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001351  Lock_time: 0.001097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045251;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:40:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000420  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045252;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:40:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1247  Schema:   QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000183  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045255;
SELECT
		  page_size, compress_ops, 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.000255  Lock_time: 0.000180  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045255;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:40:56
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002154  Lock_time: 0.001805  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045256;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:40:55.277874' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:40:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000714  Lock_time: 0.000301  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045257;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:40:56.277696' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:40:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1249  Schema:   QC_hit: No
# Query_time: 0.000186  Lock_time: 0.000117  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045258;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1249  Schema:   QC_hit: No
# Query_time: 0.000201  Lock_time: 0.000117  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045258;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000381  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045258;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:40:57.278048' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:41:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001889  Lock_time: 0.001340  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045261;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:41:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000432  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045263;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:41:02.277758' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:41:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633045265;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:41:04.27779' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1251  Schema:   QC_hit: No
# Query_time: 0.000391  Lock_time: 0.000314  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045265;
SELECT
		  page_size, compress_ops, 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.000194  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045265;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:41:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000949  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045266;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:41:07
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001484  Lock_time: 0.000918  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045267;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:41:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1253  Schema:   QC_hit: No
# Query_time: 0.000348  Lock_time: 0.000258  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045268;
SELECT
		  page_size, compress_ops, 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.000225  Lock_time: 0.000153  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045268;
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.242.31.6]
# Thread_id: 611  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001690  Lock_time: 0.000854  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1633045268;
select RES.ID_,
      RES.REV_,
      RES.DUEDATE_,
      RES.PROCESS_INSTANCE_ID_,
      RES.EXCLUSIVE_
    
    from ACT_RU_JOB RES

    where (RES.RETRIES_ > 0)
      and (
       
          RES.DUEDATE_ is null or
       
          RES.DUEDATE_ <= '2021-09-30 23:41:08.647'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-09-30 23:41:08.647')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '7d882ebc-2244-11ec-a5f8-fe4e396b8549'
	   
	 ) 
	)
   
   
         
        )
       

      and ( 
    ( 
    RES.EXCLUSIVE_ = 1
          and not exists(
            select J2.ID_ from ACT_RU_JOB J2
            where J2.PROCESS_INSTANCE_ID_ = RES.PROCESS_INSTANCE_ID_                                           -- from the same proc. inst.
            and (J2.EXCLUSIVE_ = 1)                                                              -- also exclusive
            and (J2.LOCK_OWNER_ is not null and J2.LOCK_EXP_TIME_ >= '2021-09-30 23:41:08.647')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210930 23:41:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001056  Lock_time: 0.000534  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1633045270;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:41:09.277826' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:41:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000631  Lock_time: 0.000292  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045271;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:41:10.278024' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:41:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002753  Lock_time: 0.002358  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045272;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:41:11.277577' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:41:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000674  Lock_time: 0.000311  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045273;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:41:12.280485' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:41:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1255  Schema:   QC_hit: No
# Query_time: 0.000292  Lock_time: 0.000220  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045275;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1255  Schema:   QC_hit: No
# Query_time: 0.000169  Lock_time: 0.000106  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045275;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:41:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000504  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045276;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:41:15.278048' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:41:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1257  Schema:   QC_hit: No
# Query_time: 0.000347  Lock_time: 0.000189  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045278;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1257  Schema:   QC_hit: No
# Query_time: 0.000355  Lock_time: 0.000262  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045278;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:41:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000400  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045283;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:41:22.280514' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:41:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1259  Schema:   QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000214  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045285;
SELECT
                  page_size, buffer_pool_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.000241  Lock_time: 0.000171  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045285;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:41:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000560  Lock_time: 0.000221  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045286;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:41:25.278159' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:41:27
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000842  Lock_time: 0.000393  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045287;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:41:26.280606' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:41:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1261  Schema:   QC_hit: No
# Query_time: 0.000450  Lock_time: 0.000283  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045288;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1261  Schema:   QC_hit: No
# Query_time: 0.000302  Lock_time: 0.000192  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045288;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:41:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000562  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045291;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:41:30.280765' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:41:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000595  Lock_time: 0.000220  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045293;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:41:32.281034' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:41:35
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000613  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045295;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:41:34.281213' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1263  Schema:   QC_hit: No
# Query_time: 0.000303  Lock_time: 0.000185  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045295;
SELECT
                  page_size, buffer_pool_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.000222  Lock_time: 0.000120  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045295;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:41:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1265  Schema:   QC_hit: No
# Query_time: 0.000403  Lock_time: 0.000269  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045298;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1265  Schema:   QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000175  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045298;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001817  Lock_time: 0.001480  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045298;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:41:37.277597' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:41:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000380  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045299;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:41:38.280393' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:41:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000595  Lock_time: 0.000167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045300;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:41:39.278319' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:41:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001148  Lock_time: 0.000655  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045301;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:41:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000405  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045303;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:41:42.277844' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:41:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000445  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045304;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:41:43.277613' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:41:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000419  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045305;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:41:44.280792' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1267  Schema:   QC_hit: No
# Query_time: 0.000345  Lock_time: 0.000162  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045305;
SELECT
                  page_size, buffer_pool_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.000220  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045305;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:41:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1269  Schema:   QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000190  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045308;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1269  Schema:   QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000184  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045308;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000459  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045308;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:41:47.278007' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:41:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000901  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045309;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:41:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000428  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045310;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:41:49.280852' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:41:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000419  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045312;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:41:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000362  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045313;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:41:52.281051' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:41:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1271  Schema:   QC_hit: No
# Query_time: 0.000343  Lock_time: 0.000234  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045315;
SELECT
		  page_size, compress_ops, 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.000307  Lock_time: 0.000224  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045315;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:41:56
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000488  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045316;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:41:55.277751' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:41:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1273  Schema:   QC_hit: No
# Query_time: 0.000291  Lock_time: 0.000215  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045318;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1273  Schema:   QC_hit: No
# Query_time: 0.000294  Lock_time: 0.000214  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045318;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:41:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000464  Lock_time: 0.000214  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045319;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:42:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001429  Lock_time: 0.001096  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045321;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:42:00.280287' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:42:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001324  Lock_time: 0.001007  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045323;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:42:02.280642' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:42:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001738  Lock_time: 0.001246  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045324;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:42:03.280712' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:42:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001060  Lock_time: 0.000324  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045325;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1275  Schema:   QC_hit: No
# Query_time: 0.000253  Lock_time: 0.000165  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045325;
SELECT
		  page_size, compress_ops, 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.000194  Lock_time: 0.000123  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045325;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:42:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000678  Lock_time: 0.000350  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045326;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:42:05.278309' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:42:07
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000533  Lock_time: 0.000249  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045327;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:42:06.278675' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:42:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1277  Schema:   QC_hit: No
# Query_time: 0.000252  Lock_time: 0.000155  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045328;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1277  Schema:   QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045328;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000460  Lock_time: 0.000193  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045328;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:42:07.28063' order by MODIFIED_DATE ASC limit 1;
# User@Host: so_user[so_user] @  [10.242.31.6]
# Thread_id: 611  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001312  Lock_time: 0.000624  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1633045328;
select RES.ID_,
      RES.REV_,
      RES.DUEDATE_,
      RES.PROCESS_INSTANCE_ID_,
      RES.EXCLUSIVE_
    
    from ACT_RU_JOB RES

    where (RES.RETRIES_ > 0)
      and (
       
          RES.DUEDATE_ is null or
       
          RES.DUEDATE_ <= '2021-09-30 23:42:08.651'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-09-30 23:42:08.651')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '7d882ebc-2244-11ec-a5f8-fe4e396b8549'
	   
	 ) 
	)
   
   
         
        )
       

      and ( 
    ( 
    RES.EXCLUSIVE_ = 1
          and not exists(
            select J2.ID_ from ACT_RU_JOB J2
            where J2.PROCESS_INSTANCE_ID_ = RES.PROCESS_INSTANCE_ID_                                           -- from the same proc. inst.
            and (J2.EXCLUSIVE_ = 1)                                                              -- also exclusive
            and (J2.LOCK_OWNER_ is not null and J2.LOCK_EXP_TIME_ >= '2021-09-30 23:42:08.651')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210930 23:42:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000802  Lock_time: 0.000402  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1633045329;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:42:08.277553' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:42:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000461  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045331;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:42:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001096  Lock_time: 0.000369  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045332;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:42:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000706  Lock_time: 0.000288  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045335;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:42:14.277738' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1279  Schema:   QC_hit: No
# Query_time: 0.000399  Lock_time: 0.000251  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045335;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1279  Schema:   QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000212  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045335;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:42:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000554  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045337;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:42:16.280852' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:42:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1281  Schema:   QC_hit: No
# Query_time: 0.000429  Lock_time: 0.000287  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045338;
SELECT
		  page_size, compress_ops, 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.000353  Lock_time: 0.000258  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045338;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005410  Lock_time: 0.005101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045338;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:42:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000623  Lock_time: 0.000335  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045340;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:42:19.277909' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:42:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000862  Lock_time: 0.000241  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045341;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:42:20.280984' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:42:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000480  Lock_time: 0.000228  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045342;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:42:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001117  Lock_time: 0.000391  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045344;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:42:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000570  Lock_time: 0.000264  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045345;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1283  Schema:   QC_hit: No
# Query_time: 0.000335  Lock_time: 0.000240  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045345;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1283  Schema:   QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000205  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045345;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:42:27
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000592  Lock_time: 0.000260  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045347;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:42:26.278355' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:42:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1285  Schema:   QC_hit: No
# Query_time: 0.000380  Lock_time: 0.000276  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045348;
SELECT
		  page_size, compress_ops, 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.000227  Lock_time: 0.000150  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045348;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000459  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045348;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:42:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000466  Lock_time: 0.000222  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045350;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:42:29.280565' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:42:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000539  Lock_time: 0.000230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045351;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:42:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000531  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045353;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:42:32.280704' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:42:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1287  Schema:   QC_hit: No
# Query_time: 0.000188  Lock_time: 0.000127  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045355;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1287  Schema:   QC_hit: No
# Query_time: 0.000133  Lock_time: 0.000084  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045355;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:42:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000699  Lock_time: 0.000337  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045356;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:42:35.277846' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:42:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1289  Schema:   QC_hit: No
# Query_time: 0.005787  Lock_time: 0.005667  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045358;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1289  Schema:   QC_hit: No
# Query_time: 0.000265  Lock_time: 0.000164  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045358;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000545  Lock_time: 0.000277  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045358;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:42:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000446  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045359;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:42:38.280643' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:42:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000359  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045360;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:42:39.27771' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:42:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000602  Lock_time: 0.000259  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045361;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:42:40.278351' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:42:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002216  Lock_time: 0.001885  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045362;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:42:41.278028' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:42:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000822  Lock_time: 0.000490  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045365;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:42:44.280923' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1291  Schema:   QC_hit: No
# Query_time: 0.000258  Lock_time: 0.000176  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045365;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1291  Schema:   QC_hit: No
# Query_time: 0.000228  Lock_time: 0.000157  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045365;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:42:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000594  Lock_time: 0.000281  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045366;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:42:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1293  Schema:   QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000178  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045368;
SELECT
		  page_size, compress_ops, 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.000324  Lock_time: 0.000238  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045368;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001265  Lock_time: 0.000998  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045368;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:42:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002093  Lock_time: 0.001740  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045369;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:42:48.278157' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:42:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633045370;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:42:49.277477' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:42:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1295  Schema:   QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045375;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1295  Schema:   QC_hit: No
# Query_time: 0.000199  Lock_time: 0.000128  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045375;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:42:56
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000471  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045376;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:42:55.277913' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:42:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001017  Lock_time: 0.000239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045377;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:42:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1297  Schema:   QC_hit: No
# Query_time: 0.000346  Lock_time: 0.000265  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045378;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1297  Schema:   QC_hit: No
# Query_time: 0.000294  Lock_time: 0.000224  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045378;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:43:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000413  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045384;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:43:03.28101' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:43:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001816  Lock_time: 0.001489  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045385;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:43:04.277988' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1299  Schema:   QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000166  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045385;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1299  Schema:   QC_hit: No
# Query_time: 0.000192  Lock_time: 0.000127  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045385;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:43:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000655  Lock_time: 0.000346  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045386;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:43:05.277641' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:43:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1301  Schema:   QC_hit: No
# Query_time: 0.000360  Lock_time: 0.000271  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045388;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1301  Schema:   QC_hit: No
# Query_time: 0.000251  Lock_time: 0.000168  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045388;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000503  Lock_time: 0.000193  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045388;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:43:07.278058' order by MODIFIED_DATE ASC limit 1;
# User@Host: so_user[so_user] @  [10.242.31.6]
# Thread_id: 611  Schema: camundabpmn  QC_hit: No
# Query_time: 0.003224  Lock_time: 0.002427  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1633045388;
select RES.ID_,
      RES.REV_,
      RES.DUEDATE_,
      RES.PROCESS_INSTANCE_ID_,
      RES.EXCLUSIVE_
    
    from ACT_RU_JOB RES

    where (RES.RETRIES_ > 0)
      and (
       
          RES.DUEDATE_ is null or
       
          RES.DUEDATE_ <= '2021-09-30 23:43:08.651'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-09-30 23:43:08.651')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '7d882ebc-2244-11ec-a5f8-fe4e396b8549'
	   
	 ) 
	)
   
   
         
        )
       

      and ( 
    ( 
    RES.EXCLUSIVE_ = 1
          and not exists(
            select J2.ID_ from ACT_RU_JOB J2
            where J2.PROCESS_INSTANCE_ID_ = RES.PROCESS_INSTANCE_ID_                                           -- from the same proc. inst.
            and (J2.EXCLUSIVE_ = 1)                                                              -- also exclusive
            and (J2.LOCK_OWNER_ is not null and J2.LOCK_EXP_TIME_ >= '2021-09-30 23:43:08.651')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210930 23:43:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000524  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1633045390;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:43:09.278588' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:43:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000438  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045391;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:43:10.280684' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:43:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001630  Lock_time: 0.001377  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045393;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:43:12.280786' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:43:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000426  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045394;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:43:13.277617' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:43:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1305  Schema:   QC_hit: No
# Query_time: 0.000213  Lock_time: 0.000137  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045395;
SELECT
		  page_size, compress_ops, 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.000232  Lock_time: 0.000150  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045395;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:43:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000593  Lock_time: 0.000248  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045396;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:43:15.277835' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:43:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000518  Lock_time: 0.000246  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045397;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:43:16.280639' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:43:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1307  Schema:   QC_hit: No
# Query_time: 0.000252  Lock_time: 0.000171  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045398;
SELECT
		  page_size, compress_ops, 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.000188  Lock_time: 0.000118  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045398;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:43:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001950  Lock_time: 0.001558  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045399;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:43:18.281008' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:43:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633045400;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:43:19.278464' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:43:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000636  Lock_time: 0.000269  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045401;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:43:20.281372' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:43:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000389  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045402;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:43:21.27811' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:43:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000401  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045403;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:43:22.278797' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:43:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000369  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045405;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:43:24.278035' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1309  Schema:   QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000176  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045405;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1309  Schema:   QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000196  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045405;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:43:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1311  Schema:   QC_hit: No
# Query_time: 0.000312  Lock_time: 0.000198  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045408;
SELECT
                  page_size, buffer_pool_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.000236  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045408;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:43:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001664  Lock_time: 0.001309  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045412;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:43:31.280714' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:43:35
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001611  Lock_time: 0.001214  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045415;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:43:34.280805' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1313  Schema:   QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045415;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1313  Schema:   QC_hit: No
# Query_time: 0.000432  Lock_time: 0.000365  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045415;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:43:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000765  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045416;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:43:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000488  Lock_time: 0.000233  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045417;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:43:36.280831' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:43:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1315  Schema:   QC_hit: No
# Query_time: 0.000527  Lock_time: 0.000363  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045418;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1315  Schema:   QC_hit: No
# Query_time: 0.000307  Lock_time: 0.000221  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045418;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000828  Lock_time: 0.000485  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045418;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:43:37.281321' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:43:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000532  Lock_time: 0.000239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045419;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:43:38.278094' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:43:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000483  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045420;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:43:39.27876' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:43:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002823  Lock_time: 0.002038  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045421;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:43:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001729  Lock_time: 0.001378  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045422;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:43:41.278503' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:43:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633045424;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:43:43.278642' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:43:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1317  Schema:   QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000212  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045425;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1317  Schema:   QC_hit: No
# Query_time: 0.000219  Lock_time: 0.000142  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045425;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:43:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000632  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045426;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:43:45.278104' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:43:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1319  Schema:   QC_hit: No
# Query_time: 0.000453  Lock_time: 0.000291  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045428;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1319  Schema:   QC_hit: No
# Query_time: 0.000284  Lock_time: 0.000202  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045428;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:43:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000734  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045429;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:43:48.280652' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:43:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000711  Lock_time: 0.000247  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045432;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:43:51.278058' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:43:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1321  Schema:   QC_hit: No
# Query_time: 0.000328  Lock_time: 0.000224  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045435;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1321  Schema:   QC_hit: No
# Query_time: 0.000191  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045435;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:43:56
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000372  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045436;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:43:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001821  Lock_time: 0.001424  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045437;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:43:56.277984' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:43:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1323  Schema:   QC_hit: No
# Query_time: 0.000459  Lock_time: 0.000292  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045438;
SELECT
                  page_size, buffer_pool_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.000657  Lock_time: 0.000578  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045438;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:43:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000568  Lock_time: 0.000256  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045439;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:44:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002199  Lock_time: 0.001478  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045441;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:44:02
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001771  Lock_time: 0.001516  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045442;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:44:01.277864' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:44:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001727  Lock_time: 0.001443  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045443;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:44:02.277983' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:44:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000790  Lock_time: 0.000393  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045444;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:44:03.278114' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:44:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000470  Lock_time: 0.000221  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045445;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:44:04.2788' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1325  Schema:   QC_hit: No
# Query_time: 0.000296  Lock_time: 0.000182  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045445;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1325  Schema:   QC_hit: No
# Query_time: 0.000298  Lock_time: 0.000229  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045445;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:44:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001937  Lock_time: 0.001608  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045446;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:44:05.277587' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:44:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1327  Schema:   QC_hit: No
# Query_time: 0.000324  Lock_time: 0.000244  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045448;
SELECT
		  page_size, compress_ops, 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.000215  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045448;
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.242.31.6]
# Thread_id: 611  Schema: camundabpmn  QC_hit: No
# Query_time: 0.003139  Lock_time: 0.002217  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1633045448;
select RES.ID_,
      RES.REV_,
      RES.DUEDATE_,
      RES.PROCESS_INSTANCE_ID_,
      RES.EXCLUSIVE_
    
    from ACT_RU_JOB RES

    where (RES.RETRIES_ > 0)
      and (
       
          RES.DUEDATE_ is null or
       
          RES.DUEDATE_ <= '2021-09-30 23:44:08.656'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-09-30 23:44:08.656')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '7d882ebc-2244-11ec-a5f8-fe4e396b8549'
	   
	 ) 
	)
   
   
         
        )
       

      and ( 
    ( 
    RES.EXCLUSIVE_ = 1
          and not exists(
            select J2.ID_ from ACT_RU_JOB J2
            where J2.PROCESS_INSTANCE_ID_ = RES.PROCESS_INSTANCE_ID_                                           -- from the same proc. inst.
            and (J2.EXCLUSIVE_ = 1)                                                              -- also exclusive
            and (J2.LOCK_OWNER_ is not null and J2.LOCK_EXP_TIME_ >= '2021-09-30 23:44:08.656')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210930 23:44:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000555  Lock_time: 0.000181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1633045450;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:44:09.280707' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:44:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000367  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045455;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:44:14.280752' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1329  Schema:   QC_hit: No
# Query_time: 0.000380  Lock_time: 0.000177  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045455;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1329  Schema:   QC_hit: No
# Query_time: 0.000352  Lock_time: 0.000274  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045455;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:44:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000479  Lock_time: 0.000219  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045456;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:44:15.277553' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:44:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1331  Schema:   QC_hit: No
# Query_time: 0.000386  Lock_time: 0.000241  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045458;
SELECT
		  page_size, compress_ops, 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.000253  Lock_time: 0.000157  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045458;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:44:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000479  Lock_time: 0.000167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045460;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:44:19.277895' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:44:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000723  Lock_time: 0.000414  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045461;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:44:20.277994' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:44:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000709  Lock_time: 0.000399  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045464;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:44:23.277765' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:44:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1333  Schema:   QC_hit: No
# Query_time: 0.000369  Lock_time: 0.000196  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045465;
SELECT
                  page_size, buffer_pool_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.000287  Lock_time: 0.000196  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045465;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:44:27
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001571  Lock_time: 0.001252  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045467;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:44:26.278932' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:44:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1335  Schema:   QC_hit: No
# Query_time: 0.000394  Lock_time: 0.000230  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045468;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1335  Schema:   QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000206  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045468;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001268  Lock_time: 0.000998  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045468;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:44:27.2808' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:44:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000908  Lock_time: 0.000260  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045471;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:44:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002101  Lock_time: 0.001751  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045474;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:44:33.280935' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:44:35
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000475  Lock_time: 0.000185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045475;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:44:34.277676' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1337  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=1633045475;
SELECT
		  page_size, compress_ops, 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.000192  Lock_time: 0.000124  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045475;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:44:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000586  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045476;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:44:35.277864' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:44:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1339  Schema:   QC_hit: No
# Query_time: 0.000408  Lock_time: 0.000259  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045478;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1339  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=1633045478;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000453  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045478;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:44:37.2777' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:44:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000580  Lock_time: 0.000213  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045479;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:44:38.281271' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:44:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000570  Lock_time: 0.000246  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045480;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:44:39.27776' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:44:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000552  Lock_time: 0.000223  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045481;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:44:40.277805' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:44:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002710  Lock_time: 0.001732  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045482;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:44:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000899  Lock_time: 0.000398  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045483;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:44:42.280486' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:44:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001083  Lock_time: 0.000405  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045484;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:44:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000664  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045485;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:44:44.280874' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1341  Schema:   QC_hit: No
# Query_time: 0.000224  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045485;
SELECT
		  page_size, compress_ops, 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.000187  Lock_time: 0.000126  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045485;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:44:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1343  Schema:   QC_hit: No
# Query_time: 0.000553  Lock_time: 0.000312  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045488;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1343  Schema:   QC_hit: No
# Query_time: 0.000464  Lock_time: 0.000258  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045488;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001422  Lock_time: 0.001117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045488;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:44:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000426  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045490;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:44:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001070  Lock_time: 0.000886  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045493;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:44:52.280668' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045493;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:44:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000675  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045494;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:44:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1345  Schema:   QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000220  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045495;
SELECT
		  page_size, compress_ops, 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.000138  Lock_time: 0.000091  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045495;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:44:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1347  Schema:   QC_hit: No
# Query_time: 0.000322  Lock_time: 0.000221  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045498;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1347  Schema:   QC_hit: No
# Query_time: 0.000244  Lock_time: 0.000176  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045498;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000439  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045498;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:44:57.277673' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:45:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000938  Lock_time: 0.000363  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045503;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:45:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001703  Lock_time: 0.001083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045505;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:45:04.277983' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1349  Schema:   QC_hit: No
# Query_time: 0.000439  Lock_time: 0.000242  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045505;
SELECT
		  page_size, compress_ops, 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.000242  Lock_time: 0.000174  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045505;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:45:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1351  Schema:   QC_hit: No
# Query_time: 0.000416  Lock_time: 0.000281  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045508;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1351  Schema:   QC_hit: No
# Query_time: 0.000296  Lock_time: 0.000213  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045508;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: so_user[so_user] @  [10.242.31.6]
# Thread_id: 611  Schema: camundabpmn  QC_hit: No
# Query_time: 0.003064  Lock_time: 0.002388  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1633045508;
select RES.ID_,
      RES.REV_,
      RES.DUEDATE_,
      RES.PROCESS_INSTANCE_ID_,
      RES.EXCLUSIVE_
    
    from ACT_RU_JOB RES

    where (RES.RETRIES_ > 0)
      and (
       
          RES.DUEDATE_ is null or
       
          RES.DUEDATE_ <= '2021-09-30 23:45:08.655'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-09-30 23:45:08.655')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '7d882ebc-2244-11ec-a5f8-fe4e396b8549'
	   
	 ) 
	)
   
   
         
        )
       

      and ( 
    ( 
    RES.EXCLUSIVE_ = 1
          and not exists(
            select J2.ID_ from ACT_RU_JOB J2
            where J2.PROCESS_INSTANCE_ID_ = RES.PROCESS_INSTANCE_ID_                                           -- from the same proc. inst.
            and (J2.EXCLUSIVE_ = 1)                                                              -- also exclusive
            and (J2.LOCK_OWNER_ is not null and J2.LOCK_EXP_TIME_ >= '2021-09-30 23:45:08.655')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210930 23:45:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000699  Lock_time: 0.000312  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1633045509;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:45:08.278195' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:45:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000692  Lock_time: 0.000311  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045510;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:45:09.277876' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:45:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000759  Lock_time: 0.000335  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045511;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:45:10.278312' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:45:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000520  Lock_time: 0.000219  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045514;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:45:13.277853' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:45:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000944  Lock_time: 0.000226  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045515;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1353  Schema:   QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000173  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045515;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1353  Schema:   QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045515;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:45:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1355  Schema:   QC_hit: No
# Query_time: 0.000358  Lock_time: 0.000226  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045518;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1355  Schema:   QC_hit: No
# Query_time: 0.000316  Lock_time: 0.000208  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045518;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:45:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000630  Lock_time: 0.000247  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045519;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:45:18.277986' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:45:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000527  Lock_time: 0.000260  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045520;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:45:19.280892' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:45:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000392  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045521;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:45:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000505  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045525;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:45:24.277547' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1357  Schema:   QC_hit: No
# Query_time: 0.000241  Lock_time: 0.000175  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045525;
SELECT
		  page_size, compress_ops, 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.000198  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045525;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:45:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000519  Lock_time: 0.000235  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045526;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:45:25.280685' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:45:27
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000608  Lock_time: 0.000264  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045527;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:45:26.277941' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:45:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1359  Schema:   QC_hit: No
# Query_time: 0.000321  Lock_time: 0.000226  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045528;
SELECT
		  page_size, compress_ops, 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.000459  Lock_time: 0.000360  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045528;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:45:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000662  Lock_time: 0.000275  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045531;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:45:30.280925' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:45:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000510  Lock_time: 0.000251  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045532;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:45:31.277436' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:45:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000437  Lock_time: 0.000215  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045533;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:45:32.281215' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:45:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000544  Lock_time: 0.000228  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045534;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:45:33.277999' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:45:35
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000475  Lock_time: 0.000190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045535;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:45:34.278267' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1361  Schema:   QC_hit: No
# Query_time: 0.000432  Lock_time: 0.000281  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045535;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1361  Schema:   QC_hit: No
# Query_time: 0.000334  Lock_time: 0.000269  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045535;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:45:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001614  Lock_time: 0.001246  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045536;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:45:35.277948' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:45:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000458  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045537;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:45:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1363  Schema:   QC_hit: No
# Query_time: 0.000490  Lock_time: 0.000331  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045538;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1363  Schema:   QC_hit: No
# Query_time: 0.000312  Lock_time: 0.000214  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045538;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000465  Lock_time: 0.000191  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045538;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:45:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000563  Lock_time: 0.000250  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045540;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:45:39.281186' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:45:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001300  Lock_time: 0.000306  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045541;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:45:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000453  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045542;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:45:41.27806' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:45:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000555  Lock_time: 0.000259  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045544;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:45:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001890  Lock_time: 0.001503  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045545;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:45:44.277747' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1365  Schema:   QC_hit: No
# Query_time: 0.000224  Lock_time: 0.000158  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045545;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1365  Schema:   QC_hit: No
# Query_time: 0.000141  Lock_time: 0.000096  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045545;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:45:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000720  Lock_time: 0.000429  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045546;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:45:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1367  Schema:   QC_hit: No
# Query_time: 0.000345  Lock_time: 0.000242  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045548;
SELECT
		  page_size, compress_ops, 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.000315  Lock_time: 0.000198  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045548;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:45:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000585  Lock_time: 0.000276  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045549;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:45:48.280972' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:45:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000506  Lock_time: 0.000238  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045552;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:45:51.280561' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:45:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000321  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045555;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:45:54.2808' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1370  Schema:   QC_hit: No
# Query_time: 0.000214  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045555;
SELECT
		  page_size, compress_ops, 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.000196  Lock_time: 0.000124  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045555;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:45:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001410  Lock_time: 0.001195  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045557;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:45:56.2776' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:45:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1372  Schema:   QC_hit: No
# Query_time: 0.000401  Lock_time: 0.000303  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045558;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1372  Schema:   QC_hit: No
# Query_time: 0.000624  Lock_time: 0.000528  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045558;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001734  Lock_time: 0.001409  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045558;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:45:57.2778' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:46:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000366  Lock_time: 0.000093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045560;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:45:59.280007' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:46:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000394  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045561;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:46:00.281096' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:46:02
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001276  Lock_time: 0.000990  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045562;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:46:01.28078' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:46:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000774  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045564;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:46:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000461  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045565;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:46:04.280642' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1376  Schema:   QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045565;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1376  Schema:   QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045565;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:46:07
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000410  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045567;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:46:06.277912' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:46:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1379  Schema:   QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000214  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045568;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1379  Schema:   QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000143  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045568;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: so_user[so_user] @  [10.242.31.6]
# Thread_id: 611  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001871  Lock_time: 0.000922  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1633045568;
select RES.ID_,
      RES.REV_,
      RES.DUEDATE_,
      RES.PROCESS_INSTANCE_ID_,
      RES.EXCLUSIVE_
    
    from ACT_RU_JOB RES

    where (RES.RETRIES_ > 0)
      and (
       
          RES.DUEDATE_ is null or
       
          RES.DUEDATE_ <= '2021-09-30 23:46:08.654'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-09-30 23:46:08.654')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '7d882ebc-2244-11ec-a5f8-fe4e396b8549'
	   
	 ) 
	)
   
   
         
        )
       

      and ( 
    ( 
    RES.EXCLUSIVE_ = 1
          and not exists(
            select J2.ID_ from ACT_RU_JOB J2
            where J2.PROCESS_INSTANCE_ID_ = RES.PROCESS_INSTANCE_ID_                                           -- from the same proc. inst.
            and (J2.EXCLUSIVE_ = 1)                                                              -- also exclusive
            and (J2.LOCK_OWNER_ is not null and J2.LOCK_EXP_TIME_ >= '2021-09-30 23:46:08.654')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# Time: 210930 23:46:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000602  Lock_time: 0.000284  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1633045570;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:46:09.281359' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:46:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001233  Lock_time: 0.000952  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045571;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:46:10.280421' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:46:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001848  Lock_time: 0.001530  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045572;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:46:11.280892' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:46:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000779  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045573;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:46:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000575  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045575;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:46:14.280756' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1386  Schema:   QC_hit: No
# Query_time: 0.000300  Lock_time: 0.000169  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045575;
SELECT
                  page_size, buffer_pool_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.000218  Lock_time: 0.000153  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045575;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:46:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001395  Lock_time: 0.001118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045576;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:46:15.277697' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:46:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1391  Schema:   QC_hit: No
# Query_time: 0.000252  Lock_time: 0.000181  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045578;
SELECT
		  page_size, compress_ops, 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.000199  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045578;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:46:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000560  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045580;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:46:19.277711' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:46:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000532  Lock_time: 0.000211  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045583;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:46:22.277641' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:46:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000572  Lock_time: 0.000258  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045584;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:46:23.280823' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:46:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000614  Lock_time: 0.000270  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045585;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:46:24.277649' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1398  Schema:   QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000143  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045585;
SELECT
		  page_size, compress_ops, 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.000217  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045585;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:46:27
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000427  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045587;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:46:26.27762' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:46:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1401  Schema:   QC_hit: No
# Query_time: 0.000356  Lock_time: 0.000208  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045588;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1401  Schema:   QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000233  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045588;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000401  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045588;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:46:27.28101' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:46:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000403  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045590;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:46:29.280502' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:46:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000480  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045591;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:46:30.28075' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:46:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000448  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045592;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:46:31.277671' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:46:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000531  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045594;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:46:33.278425' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:46:35
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001087  Lock_time: 0.000716  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045595;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:46:34.278314' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1406  Schema:   QC_hit: No
# Query_time: 0.000386  Lock_time: 0.000299  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045595;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1406  Schema:   QC_hit: No
# Query_time: 0.000242  Lock_time: 0.000183  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045595;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:46:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001337  Lock_time: 0.001061  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045596;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:46:35.277976' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:46:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001246  Lock_time: 0.000950  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045597;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:46:36.278615' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:46:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1408  Schema:   QC_hit: No
# Query_time: 0.000338  Lock_time: 0.000176  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045598;
SELECT
		  page_size, compress_ops, 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.000193  Lock_time: 0.000113  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045598;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001899  Lock_time: 0.001608  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045598;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:46:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000609  Lock_time: 0.000283  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045599;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:46:38.277599' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:46:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001847  Lock_time: 0.001392  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045604;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:46:43.280827' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:46:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1413  Schema:   QC_hit: No
# Query_time: 0.000315  Lock_time: 0.000204  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045605;
SELECT
		  page_size, compress_ops, 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.000382  Lock_time: 0.000258  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045605;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:46:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000697  Lock_time: 0.000277  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045606;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:46:45.281189' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:46:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1418  Schema:   QC_hit: No
# Query_time: 0.000303  Lock_time: 0.000202  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045608;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1418  Schema:   QC_hit: No
# Query_time: 0.000324  Lock_time: 0.000244  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045608;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000306  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045608;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:46:47.27792' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:46:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000608  Lock_time: 0.000313  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045612;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:46:51.277912' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:46:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000454  Lock_time: 0.000207  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045613;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:46:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000707  Lock_time: 0.000309  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045614;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:46:53.280821' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:46:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000641  Lock_time: 0.000291  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045615;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:46:54.277725' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1425  Schema:   QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045615;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1425  Schema:   QC_hit: No
# Query_time: 0.000169  Lock_time: 0.000108  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045615;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:46:56
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000807  Lock_time: 0.000382  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045616;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:46:55.280777' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:46:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000539  Lock_time: 0.000206  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045617;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:46:56.280642' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:46:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1427  Schema:   QC_hit: No
# Query_time: 0.000630  Lock_time: 0.000439  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045618;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1427  Schema:   QC_hit: No
# Query_time: 0.000383  Lock_time: 0.000297  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045618;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002142  Lock_time: 0.001873  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045618;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:46:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000529  Lock_time: 0.000218  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045619;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:46:58.277625' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:47:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633045621;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:47:00.27752' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:47:02
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000531  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045622;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:47:01.280738' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:47:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000447  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045623;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:47:02.280946' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:47:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000556  Lock_time: 0.000217  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045624;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:47:03.277567' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:47:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000473  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045625;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1429  Schema:   QC_hit: No
# Query_time: 0.000597  Lock_time: 0.000492  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045625;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1429  Schema:   QC_hit: No
# Query_time: 0.000320  Lock_time: 0.000225  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045625;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:47:07
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000684  Lock_time: 0.000328  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045627;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:47:06.277624' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:47:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1431  Schema:   QC_hit: No
# Query_time: 0.004987  Lock_time: 0.004891  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045628;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1431  Schema:   QC_hit: No
# Query_time: 0.000210  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045628;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:47:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000568  Lock_time: 0.000239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045629;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:47:08.277886' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:47:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000821  Lock_time: 0.000258  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045630;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:47:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001432  Lock_time: 0.000505  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045631;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:47:10.277806' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:47:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001716  Lock_time: 0.000447  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045632;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:47:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001723  Lock_time: 0.001393  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045633;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:47:12.277568' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:47:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000636  Lock_time: 0.000232  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045635;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:47:14.281283' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1435  Schema:   QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000209  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045635;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1435  Schema:   QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000180  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045635;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:47:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000781  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045636;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:47:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1437  Schema:   QC_hit: No
# Query_time: 0.000370  Lock_time: 0.000255  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045638;
SELECT
		  page_size, compress_ops, 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.000330  Lock_time: 0.000245  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045638;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:47:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000810  Lock_time: 0.000459  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045640;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:47:19.278223' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:47:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001491  Lock_time: 0.000917  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045641;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:47:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001254  Lock_time: 0.000953  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045642;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:47:21.278163' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:47:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000338  Lock_time: 0.000090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045643;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:47:22.28071' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:47:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000549  Lock_time: 0.000308  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045644;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:47:23.281049' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:47:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1439  Schema:   QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000210  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045645;
SELECT
		  page_size, compress_ops, 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.000960  Lock_time: 0.000877  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045645;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:47:27
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633045647;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:47:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1442  Schema:   QC_hit: No
# Query_time: 0.000389  Lock_time: 0.000283  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045648;
SELECT
		  page_size, compress_ops, 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.000371  Lock_time: 0.000273  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045648;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000523  Lock_time: 0.000213  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045648;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:47:27.277699' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:47:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000588  Lock_time: 0.000253  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045649;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:47:28.281822' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:47:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000459  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045650;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:47:29.277412' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:47:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000342  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045651;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:47:30.281482' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:47:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000587  Lock_time: 0.000312  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045652;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:47:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002157  Lock_time: 0.001792  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045653;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:47:32.278183' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:47:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002354  Lock_time: 0.002107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045654;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:47:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1446  Schema:   QC_hit: No
# Query_time: 0.000208  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045655;
SELECT
		  page_size, compress_ops, 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.000144  Lock_time: 0.000090  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045655;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:47:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000546  Lock_time: 0.000232  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045656;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:47:35.277883' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:47:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000561  Lock_time: 0.000228  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045657;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:47:36.278104' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:47:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1449  Schema:   QC_hit: No
# Query_time: 0.000521  Lock_time: 0.000315  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045658;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1449  Schema:   QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000180  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045658;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001635  Lock_time: 0.001355  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045658;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:47:37.278144' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:47:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001446  Lock_time: 0.001136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045659;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:47:38.278644' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:47:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000898  Lock_time: 0.000287  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045660;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:47:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000438  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045663;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:47:42.280065' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:47:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000456  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045664;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:47:43.278002' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:47:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000590  Lock_time: 0.000219  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045665;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:47:44.278815' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1454  Schema:   QC_hit: No
# Query_time: 0.000314  Lock_time: 0.000198  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045665;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1454  Schema:   QC_hit: No
# Query_time: 0.000215  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045665;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:47:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000494  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045666;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:47:47
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000565  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045667;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:47:46.281033' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:47:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1456  Schema:   QC_hit: No
# Query_time: 0.000365  Lock_time: 0.000252  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045668;
SELECT
		  page_size, compress_ops, 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.000223  Lock_time: 0.000159  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045668;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000501  Lock_time: 0.000215  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045668;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:47:47.277672' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:47:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000374  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045670;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:47:49.277722' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:47:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000625  Lock_time: 0.000348  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045672;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:47:51.277563' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:47:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1458  Schema:   QC_hit: No
# Query_time: 0.000189  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045675;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1458  Schema:   QC_hit: No
# Query_time: 0.000149  Lock_time: 0.000096  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045675;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:47:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000643  Lock_time: 0.000283  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045677;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:47:56.277446' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:47:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1460  Schema:   QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000156  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045678;
SELECT
		  page_size, compress_ops, 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.000220  Lock_time: 0.000137  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045678;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:47:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000546  Lock_time: 0.000211  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045679;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:47:58.280928' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:48:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000429  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045680;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:47:59.277354' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:48:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000468  Lock_time: 0.000220  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045683;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:48:02.281183' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:48:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1463  Schema:   QC_hit: No
# Query_time: 0.000522  Lock_time: 0.000370  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045685;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1463  Schema:   QC_hit: No
# Query_time: 0.000193  Lock_time: 0.000121  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045685;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:48:07
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000551  Lock_time: 0.000191  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045687;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:48:06.277633' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:48:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1466  Schema:   QC_hit: No
# Query_time: 0.000325  Lock_time: 0.000244  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045688;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1466  Schema:   QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000149  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045688;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000766  Lock_time: 0.000507  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045688;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:48:07.281003' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:48:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002061  Lock_time: 0.001733  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045692;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:48:11.280614' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:48:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000442  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045693;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:48:12.277943' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:48:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000907  Lock_time: 0.000246  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045694;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:48:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000534  Lock_time: 0.000239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045695;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:48:14.278518' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1470  Schema:   QC_hit: No
# Query_time: 0.000394  Lock_time: 0.000235  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045695;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1470  Schema:   QC_hit: No
# Query_time: 0.000230  Lock_time: 0.000158  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045695;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:48:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1472  Schema:   QC_hit: No
# Query_time: 0.000357  Lock_time: 0.000237  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045698;
SELECT
		  page_size, compress_ops, 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.000241  Lock_time: 0.000155  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045698;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000536  Lock_time: 0.000266  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045698;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:48:17.277987' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:48:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000551  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045700;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:48:19.28065' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:48:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000560  Lock_time: 0.000197  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045701;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:48:20.278097' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:48:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000671  Lock_time: 0.000299  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045703;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:48:22.280692' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:48:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003033  Lock_time: 0.002676  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045704;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:48:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001647  Lock_time: 0.001239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045705;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:48:24.281067' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1474  Schema:   QC_hit: No
# Query_time: 0.000703  Lock_time: 0.000626  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045705;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1474  Schema:   QC_hit: No
# Query_time: 0.000442  Lock_time: 0.000371  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045705;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:48:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000531  Lock_time: 0.000243  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045706;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:48:25.277632' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:48:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1476  Schema:   QC_hit: No
# Query_time: 0.000274  Lock_time: 0.000181  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045708;
SELECT
		  page_size, compress_ops, 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.000234  Lock_time: 0.000156  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045708;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000693  Lock_time: 0.000461  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045708;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:48:27.277624' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:48:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000993  Lock_time: 0.000719  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045709;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:48:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001516  Lock_time: 0.001255  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045712;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:48:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000811  Lock_time: 0.000361  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045713;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:48:32.281286' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:48:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001355  Lock_time: 0.000953  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045714;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:48:33.281015' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:48:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1478  Schema:   QC_hit: No
# Query_time: 0.000347  Lock_time: 0.000242  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045715;
SELECT
		  page_size, compress_ops, 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.000206  Lock_time: 0.000128  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045715;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:48:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633045717;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:48:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1480  Schema:   QC_hit: No
# Query_time: 0.000377  Lock_time: 0.000279  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045718;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1480  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=1633045718;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:48:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000674  Lock_time: 0.000275  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045719;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:48:38.280963' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:48:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000880  Lock_time: 0.000565  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045720;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:48:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001134  Lock_time: 0.000697  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045721;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:48:40.279058' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:48:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000560  Lock_time: 0.000286  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045722;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:48:41.278432' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:48:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001026  Lock_time: 0.000693  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045723;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:48:42.280382' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:48:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001890  Lock_time: 0.001529  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045724;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:48:43.278112' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:48:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1482  Schema:   QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000195  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045725;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1482  Schema:   QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000180  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045725;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:48:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001130  Lock_time: 0.000762  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045726;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:48:45.277691' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:48:47
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001125  Lock_time: 0.000292  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045727;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:48:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1484  Schema:   QC_hit: No
# Query_time: 0.000487  Lock_time: 0.000346  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045728;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1484  Schema:   QC_hit: No
# Query_time: 0.000302  Lock_time: 0.000207  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045728;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002863  Lock_time: 0.001518  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045728;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:48:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001053  Lock_time: 0.000242  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045731;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:48:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000843  Lock_time: 0.000323  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045732;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:48:51.278228' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:48:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000806  Lock_time: 0.000304  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045733;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:48:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000460  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045734;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:48:53.2814' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:48:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1486  Schema:   QC_hit: No
# Query_time: 0.000326  Lock_time: 0.000170  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045735;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1486  Schema:   QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000186  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045735;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:48:56
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000488  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045736;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:48:55.280719' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:48:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000511  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045737;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:48:56.278065' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:48:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1488  Schema:   QC_hit: No
# Query_time: 0.000352  Lock_time: 0.000193  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045738;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1488  Schema:   QC_hit: No
# Query_time: 0.000310  Lock_time: 0.000202  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045738;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:49:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000374  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045740;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:48:59.277927' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:49:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000435  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045741;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:49:00.27852' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:49:02
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000495  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045742;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:49:01.278189' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:49:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000326  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045743;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:49:02.280401' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:49:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000625  Lock_time: 0.000266  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045744;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:49:03.277924' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:49:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000779  Lock_time: 0.000301  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045745;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:49:04.277939' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1490  Schema:   QC_hit: No
# Query_time: 0.000295  Lock_time: 0.000213  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045745;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1490  Schema:   QC_hit: No
# Query_time: 0.000179  Lock_time: 0.000119  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045745;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:49:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1492  Schema:   QC_hit: No
# Query_time: 0.000392  Lock_time: 0.000230  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045748;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1492  Schema:   QC_hit: No
# Query_time: 0.000302  Lock_time: 0.000213  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045748;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:49:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633045751;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:49:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000532  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045754;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:49:13.281147' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:49:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001896  Lock_time: 0.001530  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045755;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:49:14.280461' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1494  Schema:   QC_hit: No
# Query_time: 0.000341  Lock_time: 0.000237  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045755;
SELECT
		  page_size, compress_ops, 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.000256  Lock_time: 0.000170  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045755;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:49:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000435  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045757;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:49:16.277956' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:49:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1496  Schema:   QC_hit: No
# Query_time: 0.000242  Lock_time: 0.000157  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045758;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1496  Schema:   QC_hit: No
# Query_time: 0.000199  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045758;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:49:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000522  Lock_time: 0.000266  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045760;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:49:19.277539' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:49:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000430  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045762;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:49:21.277742' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:49:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000584  Lock_time: 0.000218  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045764;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:49:23.277986' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:49:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000545  Lock_time: 0.000331  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045765;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:49:24.278073' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1498  Schema:   QC_hit: No
# Query_time: 0.000462  Lock_time: 0.000298  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045765;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1498  Schema:   QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000192  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045765;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:49:27
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000382  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045767;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:49:26.281631' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:49:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1500  Schema:   QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000158  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045768;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1500  Schema:   QC_hit: No
# Query_time: 0.000233  Lock_time: 0.000164  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045768;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001642  Lock_time: 0.001403  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045768;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:49:27.28045' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:49:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001592  Lock_time: 0.001210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045769;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:49:28.280696' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:49:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000456  Lock_time: 0.000220  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045770;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:49:29.280427' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:49:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000509  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045774;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:49:35
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000558  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045775;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:49:34.278303' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1502  Schema:   QC_hit: No
# Query_time: 0.000233  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045775;
SELECT
		  page_size, compress_ops, 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.000235  Lock_time: 0.000117  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045775;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:49:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001053  Lock_time: 0.000312  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045776;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045776;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:49:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000488  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045777;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:49:36.277784' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:49:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1504  Schema:   QC_hit: No
# Query_time: 0.000336  Lock_time: 0.000233  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045778;
SELECT
                  page_size, buffer_pool_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.000297  Lock_time: 0.000226  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045778;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:49:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000973  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045779;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:49:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001472  Lock_time: 0.001240  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045783;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:49:42.280719' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:49:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000487  Lock_time: 0.000197  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045784;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:49:43.280428' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:49:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000475  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045785;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:49:44.280885' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1506  Schema:   QC_hit: No
# Query_time: 0.004034  Lock_time: 0.003950  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045785;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1506  Schema:   QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045785;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:49:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001373  Lock_time: 0.000990  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045786;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:49:45.280795' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:49:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1508  Schema:   QC_hit: No
# Query_time: 0.000372  Lock_time: 0.000278  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045788;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1508  Schema:   QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045788;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:49:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000441  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045789;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:49:48.28131' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:49:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001318  Lock_time: 0.000343  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045790;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:49:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000921  Lock_time: 0.000191  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045791;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:49:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000343  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045793;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:49:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000639  Lock_time: 0.000341  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045795;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1510  Schema:   QC_hit: No
# Query_time: 0.000209  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045795;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1510  Schema:   QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000206  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045795;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:49:56
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000508  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045796;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:49:55.28089' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:49:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1512  Schema:   QC_hit: No
# Query_time: 0.000369  Lock_time: 0.000254  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045798;
SELECT
		  page_size, compress_ops, 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.000308  Lock_time: 0.000228  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045798;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:49:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000634  Lock_time: 0.000242  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045799;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:49:58.277523' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:50:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000436  Lock_time: 0.000212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045800;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:49:59.280847' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:50:02
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001142  Lock_time: 0.000309  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045802;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:50:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000909  Lock_time: 0.000492  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045804;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:50:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000857  Lock_time: 0.000416  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045805;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:50:04.281075' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1514  Schema:   QC_hit: No
# Query_time: 0.000332  Lock_time: 0.000218  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045805;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1514  Schema:   QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000124  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045805;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:50:07
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000937  Lock_time: 0.000200  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045807;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:50:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1516  Schema:   QC_hit: No
# Query_time: 0.000389  Lock_time: 0.000260  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045808;
SELECT
		  page_size, compress_ops, 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.000283  Lock_time: 0.000181  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045808;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:50:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002222  Lock_time: 0.001850  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045809;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:50:08.277594' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:50:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000801  Lock_time: 0.000344  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045815;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:50:14.278055' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1518  Schema:   QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000209  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045815;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1518  Schema:   QC_hit: No
# Query_time: 0.000424  Lock_time: 0.000352  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045815;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:50:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001594  Lock_time: 0.001289  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045816;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:50:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1520  Schema:   QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045818;
SELECT
                  page_size, buffer_pool_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.000174  Lock_time: 0.000106  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045818;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000648  Lock_time: 0.000227  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045818;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:50:17.277424' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:50:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000617  Lock_time: 0.000300  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045820;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:50:19.277982' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:50:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000536  Lock_time: 0.000226  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045825;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:50:24.277684' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1522  Schema:   QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000196  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045825;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1522  Schema:   QC_hit: No
# Query_time: 0.000181  Lock_time: 0.000113  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045825;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:50:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000493  Lock_time: 0.000235  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045826;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:50:25.280395' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:50:27
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000560  Lock_time: 0.000278  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045827;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:50:26.280796' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:50:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1524  Schema:   QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000215  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045828;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1524  Schema:   QC_hit: No
# Query_time: 0.000211  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045828;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001690  Lock_time: 0.000678  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045828;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:50:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000599  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045829;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:50:28.278124' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:50:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000351  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045831;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:50:30.28064' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:50:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000664  Lock_time: 0.000270  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045832;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:50:31.280773' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:50:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001383  Lock_time: 0.001089  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045833;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:50:32.280387' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:50:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001742  Lock_time: 0.001397  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045834;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:50:33.280712' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:50:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1526  Schema:   QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000126  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045835;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1526  Schema:   QC_hit: No
# Query_time: 0.000199  Lock_time: 0.000118  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045835;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:50:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000983  Lock_time: 0.000508  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045837;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:50:36.277682' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:50:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1528  Schema:   QC_hit: No
# Query_time: 0.000367  Lock_time: 0.000229  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045838;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1528  Schema:   QC_hit: No
# Query_time: 0.000336  Lock_time: 0.000255  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045838;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:50:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000689  Lock_time: 0.000309  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045839;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:50:38.277801' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:50:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001528  Lock_time: 0.001236  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045840;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:50:39.277609' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:50:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000455  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045844;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:50:43.277714' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:50:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1530  Schema:   QC_hit: No
# Query_time: 0.000317  Lock_time: 0.000176  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045845;
SELECT
		  page_size, compress_ops, 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.002431  Lock_time: 0.002337  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045845;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:50:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000455  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045846;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:50:45.277492' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:50:47
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000346  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045847;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:50:46.280551' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:50:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1532  Schema:   QC_hit: No
# Query_time: 0.000309  Lock_time: 0.000171  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045848;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1532  Schema:   QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045848;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001540  Lock_time: 0.001271  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045848;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:50:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000623  Lock_time: 0.000312  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045849;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:50:48.277736' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:50:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000584  Lock_time: 0.000270  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045853;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:50:52.277647' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:50:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000527  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045855;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:50:54.277686' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1534  Schema:   QC_hit: No
# Query_time: 0.000286  Lock_time: 0.000180  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045855;
SELECT
		  page_size, compress_ops, 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.000245  Lock_time: 0.000155  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045855;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:50:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000426  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045857;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:50:56.277848' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:50:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1536  Schema:   QC_hit: No
# Query_time: 0.000372  Lock_time: 0.000243  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045858;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1536  Schema:   QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045858;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000425  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045858;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:50:57.277749' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:51:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1538  Schema:   QC_hit: No
# Query_time: 0.000306  Lock_time: 0.000181  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045865;
SELECT
                  page_size, buffer_pool_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.000207  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045865;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:51:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000420  Lock_time: 0.000089  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045866;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:51:05.28086' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:51:07
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000433  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045867;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:51:06.277591' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:51:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1540  Schema:   QC_hit: No
# Query_time: 0.000345  Lock_time: 0.000256  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045868;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1540  Schema:   QC_hit: No
# Query_time: 0.000314  Lock_time: 0.000236  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045868;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000353  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045868;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:51:07.281064' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:51:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000601  Lock_time: 0.000304  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045869;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:51:08.277693' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:51:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000909  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045870;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:51:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001778  Lock_time: 0.001482  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045872;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:51:11.280272' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:51:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000410  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045874;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:51:13.277895' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:51:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1542  Schema:   QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045875;
SELECT
		  page_size, compress_ops, 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.000211  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045875;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:51:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002345  Lock_time: 0.001957  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045877;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:51:16.277976' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:51:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1544  Schema:   QC_hit: No
# Query_time: 0.000370  Lock_time: 0.000233  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045878;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1544  Schema:   QC_hit: No
# Query_time: 0.000497  Lock_time: 0.000335  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045878;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000413  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045878;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:51:17.277584' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:51:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000395  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045879;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:51:18.27815' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:51:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001600  Lock_time: 0.001282  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045880;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:51:19.278138' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:51:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000663  Lock_time: 0.000204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045885;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:51:24.277854' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1546  Schema:   QC_hit: No
# Query_time: 0.001845  Lock_time: 0.001739  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045885;
SELECT
		  page_size, compress_ops, 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.000257  Lock_time: 0.000183  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045885;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:51:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000595  Lock_time: 0.000255  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045886;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:51:25.278127' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:51:27
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000724  Lock_time: 0.000259  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045887;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:51:26.278298' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:51:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1548  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=1633045888;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1548  Schema:   QC_hit: No
# Query_time: 0.000187  Lock_time: 0.000114  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045888;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:51:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045890;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:51:29.280749' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:51:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000405  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045891;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:51:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000599  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045892;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:51:31.278277' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:51:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000403  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045893;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:51:32.280361' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:51:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000952  Lock_time: 0.000402  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045894;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:51:33.281161' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:51:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1550  Schema:   QC_hit: No
# Query_time: 0.000253  Lock_time: 0.000174  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045895;
SELECT
		  page_size, compress_ops, 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.000251  Lock_time: 0.000172  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045895;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:51:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000473  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045897;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:51:36.280568' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:51:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1552  Schema:   QC_hit: No
# Query_time: 0.000482  Lock_time: 0.000356  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045898;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1552  Schema:   QC_hit: No
# Query_time: 0.000321  Lock_time: 0.000225  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045898;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001268  Lock_time: 0.000361  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045898;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:51:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000783  Lock_time: 0.000267  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045900;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:51:39.280832' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:51:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000583  Lock_time: 0.000181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045901;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:51:40.278058' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:51:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001923  Lock_time: 0.001545  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045903;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:51:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001556  Lock_time: 0.000456  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045905;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1554  Schema:   QC_hit: No
# Query_time: 0.000286  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045905;
SELECT
		  page_size, compress_ops, 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.000279  Lock_time: 0.000175  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045905;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:51:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000425  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045906;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:51:45.27823' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:51:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1556  Schema:   QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045908;
SELECT
		  page_size, compress_ops, 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.000191  Lock_time: 0.000119  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045908;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001843  Lock_time: 0.000799  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045908;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:51:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000598  Lock_time: 0.000239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045909;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:51:48.278208' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:51:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001611  Lock_time: 0.001241  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045910;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:51:49.277788' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:51:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001060  Lock_time: 0.000304  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045911;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:51:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000392  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045912;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:51:51.278167' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:51:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000933  Lock_time: 0.000450  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045915;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:51:54.277816' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1558  Schema:   QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000204  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045915;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1558  Schema:   QC_hit: No
# Query_time: 0.000189  Lock_time: 0.000121  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045915;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:51:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000461  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045917;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:51:56.280854' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:51:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1560  Schema:   QC_hit: No
# Query_time: 0.000276  Lock_time: 0.000185  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045918;
SELECT
		  page_size, compress_ops, 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.000187  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045918;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000320  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045918;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:51:57.277593' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:52:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001957  Lock_time: 0.001667  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045923;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:52:02.280586' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:52:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000610  Lock_time: 0.000217  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045924;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:52:03.277789' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:52:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000398  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045925;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:52:04.277826' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1562  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=1633045925;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1562  Schema:   QC_hit: No
# Query_time: 0.000195  Lock_time: 0.000113  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045925;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:52:07
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000508  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045927;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:52:06.277807' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:52:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1564  Schema:   QC_hit: No
# Query_time: 0.000506  Lock_time: 0.000358  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045928;
SELECT
                  page_size, buffer_pool_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.000496  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045928;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:52:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001065  Lock_time: 0.000284  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045930;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:52:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000469  Lock_time: 0.000187  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045933;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:52:12.279583' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:52:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000427  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045934;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:52:13.277796' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:52:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1567  Schema:   QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000181  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045935;
SELECT
		  page_size, compress_ops, 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.000245  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045935;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:52:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000580  Lock_time: 0.000212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045936;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:52:15.277778' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:52:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000812  Lock_time: 0.000532  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045937;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:52:16.278031' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:52:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1569  Schema:   QC_hit: No
# Query_time: 0.000447  Lock_time: 0.000250  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045938;
SELECT
		  page_size, compress_ops, 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.000331  Lock_time: 0.000195  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045938;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:52:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002161  Lock_time: 0.001815  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045939;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:52:18.277795' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:52:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000507  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045940;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:52:19.277463' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:52:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000489  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045943;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:52:22.281032' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:52:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000734  Lock_time: 0.000393  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045945;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:52:24.281154' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1571  Schema:   QC_hit: No
# Query_time: 0.000265  Lock_time: 0.000173  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045945;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1571  Schema:   QC_hit: No
# Query_time: 0.000188  Lock_time: 0.000121  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045945;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:52:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000668  Lock_time: 0.000258  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045946;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:52:25.280588' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:52:27
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000430  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045947;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:52:26.280502' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:52:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1573  Schema:   QC_hit: No
# Query_time: 0.000236  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045948;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1573  Schema:   QC_hit: No
# Query_time: 0.000415  Lock_time: 0.000308  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045948;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:52:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001683  Lock_time: 0.001376  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045949;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:52:28.280893' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:52:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000594  Lock_time: 0.000261  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045952;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:52:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000354  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045953;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:52:32.277717' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:52:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000481  Lock_time: 0.000238  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045954;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:52:33.280716' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:52:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1575  Schema:   QC_hit: No
# Query_time: 0.000386  Lock_time: 0.000224  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045955;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1575  Schema:   QC_hit: No
# Query_time: 0.000186  Lock_time: 0.000109  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045955;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:52:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000558  Lock_time: 0.000239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045956;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:52:35.277713' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:52:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1577  Schema:   QC_hit: No
# Query_time: 0.000537  Lock_time: 0.000202  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045958;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1577  Schema:   QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000186  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045958;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000487  Lock_time: 0.000180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045958;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:52:37.277777' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:52:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000863  Lock_time: 0.000548  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045959;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:52:38.277798' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:52:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000548  Lock_time: 0.000200  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045960;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:52:39.280837' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:52:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000465  Lock_time: 0.000217  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045961;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:52:40.277623' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:52:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000649  Lock_time: 0.000327  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045962;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:52:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001575  Lock_time: 0.001278  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045964;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:52:43.280794' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:52:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000539  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045965;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:52:44.277814' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1579  Schema:   QC_hit: No
# Query_time: 0.000385  Lock_time: 0.000207  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045965;
SELECT
		  page_size, compress_ops, 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.000255  Lock_time: 0.000186  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045965;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:52:47
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000458  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045967;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:52:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1581  Schema:   QC_hit: No
# Query_time: 0.000355  Lock_time: 0.000224  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045968;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1581  Schema:   QC_hit: No
# Query_time: 0.000369  Lock_time: 0.000246  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045968;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000429  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045968;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:52:47.280895' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:52:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000860  Lock_time: 0.000547  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045970;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:52:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001533  Lock_time: 0.001217  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045972;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:52:51.280758' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:52:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000472  Lock_time: 0.000256  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045973;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:52:52.277586' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:52:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000477  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045974;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:52:53.281235' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:52:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000483  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045975;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:52:54.277806' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1583  Schema:   QC_hit: No
# Query_time: 0.000328  Lock_time: 0.000175  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045975;
SELECT
		  page_size, compress_ops, 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.000405  Lock_time: 0.000308  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045975;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:52:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001632  Lock_time: 0.001306  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045977;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:52:56.277716' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:52:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1585  Schema:   QC_hit: No
# Query_time: 0.000399  Lock_time: 0.000301  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045978;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1585  Schema:   QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000199  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045978;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001611  Lock_time: 0.001278  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045978;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:52:57.277658' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:53:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000488  Lock_time: 0.000182  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045980;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:52:59.277592' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:53:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001493  Lock_time: 0.001197  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045983;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:53:02.280133' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:53:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001886  Lock_time: 0.001496  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045985;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:53:04.28062' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1587  Schema:   QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000149  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045985;
SELECT
                  page_size, buffer_pool_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.000183  Lock_time: 0.000121  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045985;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:53:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000667  Lock_time: 0.000271  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045986;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:53:05.277824' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:53:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1589  Schema:   QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000159  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045988;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1589  Schema:   QC_hit: No
# Query_time: 0.000183  Lock_time: 0.000115  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045988;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000550  Lock_time: 0.000355  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045988;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:53:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001131  Lock_time: 0.000402  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045989;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:53:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000473  Lock_time: 0.000223  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045990;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:53:09.280876' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:53:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000726  Lock_time: 0.000349  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045991;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:53:10.280994' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:53:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001033  Lock_time: 0.000334  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045992;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:53:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000429  Lock_time: 0.000206  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045993;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:53:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1591  Schema:   QC_hit: No
# Query_time: 0.000407  Lock_time: 0.000299  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045995;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1591  Schema:   QC_hit: No
# Query_time: 0.000269  Lock_time: 0.000183  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045995;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:53:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1593  Schema:   QC_hit: No
# Query_time: 0.000355  Lock_time: 0.000180  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633045998;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1593  Schema:   QC_hit: No
# Query_time: 0.000251  Lock_time: 0.000166  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633045998;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001500  Lock_time: 0.001181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045998;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:53:17.279818' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:53:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000811  Lock_time: 0.000271  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633045999;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:53:18.277803' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:53:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000471  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046000;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:53:19.27775' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:53:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002445  Lock_time: 0.002047  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046002;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:53:21.277458' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:53:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000675  Lock_time: 0.000291  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046004;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:53:23.280846' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:53:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001656  Lock_time: 0.001277  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046005;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:53:24.279092' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1595  Schema:   QC_hit: No
# Query_time: 0.000357  Lock_time: 0.000250  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046005;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1595  Schema:   QC_hit: No
# Query_time: 0.000210  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046005;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:53:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001646  Lock_time: 0.001294  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046006;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:53:25.280675' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:53:27
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001723  Lock_time: 0.001331  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046007;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:53:26.280865' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:53:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1597  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=1633046008;
SELECT
                  page_size, buffer_pool_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.000548  Lock_time: 0.000470  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046008;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:53:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000596  Lock_time: 0.000274  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046009;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:53:28.278145' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:53:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001271  Lock_time: 0.001012  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046010;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:53:29.277655' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:53:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000430  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046012;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:53:31.281028' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:53:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1599  Schema:   QC_hit: No
# Query_time: 0.000489  Lock_time: 0.000306  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046015;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1599  Schema:   QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046015;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:53:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000606  Lock_time: 0.000273  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046016;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:53:35.280698' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:53:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1601  Schema:   QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046018;
SELECT
                  page_size, buffer_pool_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.000200  Lock_time: 0.000125  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046018;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:53:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000542  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046019;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:53:38.281079' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:53:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000477  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046023;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:53:42.277516' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:53:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000448  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046024;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:53:43.277861' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:53:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1603  Schema:   QC_hit: No
# Query_time: 0.000411  Lock_time: 0.000256  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046025;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1603  Schema:   QC_hit: No
# Query_time: 0.000205  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046025;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:53:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1605  Schema:   QC_hit: No
# Query_time: 0.000348  Lock_time: 0.000221  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046028;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1605  Schema:   QC_hit: No
# Query_time: 0.000344  Lock_time: 0.000248  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046028;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000468  Lock_time: 0.000195  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046028;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:53:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000526  Lock_time: 0.000237  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046031;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:53:50.281674' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:53:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001323  Lock_time: 0.001053  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046032;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:53:51.280218' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:53:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001191  Lock_time: 0.000879  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046033;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:53:52.280336' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:53:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1607  Schema:   QC_hit: No
# Query_time: 0.000412  Lock_time: 0.000276  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046035;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1607  Schema:   QC_hit: No
# Query_time: 0.000171  Lock_time: 0.000119  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046035;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:53:56
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633046036;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:53:55.280695' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:53:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1609  Schema:   QC_hit: No
# Query_time: 0.000269  Lock_time: 0.000179  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046038;
SELECT
		  page_size, compress_ops, 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.000578  Lock_time: 0.000497  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046038;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000605  Lock_time: 0.000225  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046038;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:53:57.277567' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:54:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000465  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046041;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:54:00.280697' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:54:02
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001271  Lock_time: 0.001031  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046042;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:54:01.280516' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:54:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000439  Lock_time: 0.000187  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046043;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:54:02.280377' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:54:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000543  Lock_time: 0.000195  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046045;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:54:04.277593' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1611  Schema:   QC_hit: No
# Query_time: 0.000520  Lock_time: 0.000353  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046045;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1611  Schema:   QC_hit: No
# Query_time: 0.000332  Lock_time: 0.000208  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046045;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:54:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000630  Lock_time: 0.000354  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046046;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:54:05.281287' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:54:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1613  Schema:   QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000180  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046048;
SELECT
		  page_size, compress_ops, 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.000240  Lock_time: 0.000167  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046048;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:54:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000528  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046050;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:54:09.278461' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:54:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001042  Lock_time: 0.000827  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046054;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:54:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001483  Lock_time: 0.001131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046055;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1615  Schema:   QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000174  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046055;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1615  Schema:   QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000184  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046055;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:54:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001825  Lock_time: 0.001374  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046057;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:54:16.277913' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:54:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1617  Schema:   QC_hit: No
# Query_time: 0.000312  Lock_time: 0.000235  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046058;
SELECT
		  page_size, compress_ops, 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.000201  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046058;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000541  Lock_time: 0.000228  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046058;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:54:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000591  Lock_time: 0.000271  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046059;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:54:18.280848' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:54:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001439  Lock_time: 0.001075  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046061;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:54:20.278297' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:54:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001317  Lock_time: 0.000721  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046062;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:54:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001735  Lock_time: 0.001406  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046064;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:54:23.280558' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:54:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1619  Schema:   QC_hit: No
# Query_time: 0.000233  Lock_time: 0.000157  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046065;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1619  Schema:   QC_hit: No
# Query_time: 0.000176  Lock_time: 0.000109  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046065;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:54:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1621  Schema:   QC_hit: No
# Query_time: 0.000454  Lock_time: 0.000309  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046068;
SELECT
                  page_size, buffer_pool_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.000261  Lock_time: 0.000178  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046068;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000528  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046068;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:54:27.277985' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:54:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000352  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046069;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:54:28.278122' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:54:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000330  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046070;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:54:29.277935' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:54:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000360  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046071;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:54:30.28105' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:54:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000416  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046073;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:54:32.281414' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:54:35
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000442  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046075;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1623  Schema:   QC_hit: No
# Query_time: 0.000266  Lock_time: 0.000190  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046075;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1623  Schema:   QC_hit: No
# Query_time: 0.000227  Lock_time: 0.000154  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046075;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:54:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000817  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046077;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:54:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1625  Schema:   QC_hit: No
# Query_time: 0.000341  Lock_time: 0.000253  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046078;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1625  Schema:   QC_hit: No
# Query_time: 0.000295  Lock_time: 0.000184  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046078;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:54:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000439  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046079;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:54:38.280995' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:54:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000442  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046080;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:54:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001041  Lock_time: 0.000174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046081;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:54:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000349  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046084;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:54:43.27754' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:54:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000666  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046085;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:54:44.281585' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1627  Schema:   QC_hit: No
# Query_time: 0.000242  Lock_time: 0.000165  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046085;
SELECT
		  page_size, compress_ops, 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.000205  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046085;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:54:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000497  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046086;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:54:45.280578' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:54:47
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001768  Lock_time: 0.001348  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046087;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:54:46.278247' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:54:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1629  Schema:   QC_hit: No
# Query_time: 0.000409  Lock_time: 0.000310  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046088;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1629  Schema:   QC_hit: No
# Query_time: 0.000239  Lock_time: 0.000163  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046088;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633046088;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:54:47.278119' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:54:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000466  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046089;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:54:48.278789' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:54:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000446  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046090;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:54:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000628  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046091;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:54:50.279283' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:54:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001052  Lock_time: 0.000539  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046092;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:54:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000550  Lock_time: 0.000277  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046093;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:54:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001401  Lock_time: 0.001185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046095;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:54:54.280733' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1631  Schema:   QC_hit: No
# Query_time: 0.000198  Lock_time: 0.000123  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046095;
SELECT
		  page_size, compress_ops, 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.000869  Lock_time: 0.000782  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046095;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:54:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1633  Schema:   QC_hit: No
# Query_time: 0.000457  Lock_time: 0.000240  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046098;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1633  Schema:   QC_hit: No
# Query_time: 0.000330  Lock_time: 0.000249  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046098;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000855  Lock_time: 0.000195  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046098;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:55:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633046100;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:54:59.278264' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:55:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000888  Lock_time: 0.000225  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046101;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:55:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001078  Lock_time: 0.000296  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046103;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:55:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000392  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046104;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:55:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1635  Schema:   QC_hit: No
# Query_time: 0.000430  Lock_time: 0.000263  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046105;
SELECT
                  page_size, buffer_pool_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.000232  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046105;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:55:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1637  Schema:   QC_hit: No
# Query_time: 0.000309  Lock_time: 0.000209  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046108;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1637  Schema:   QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046108;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:55:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000751  Lock_time: 0.000336  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046109;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:55:08.281377' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:55:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001241  Lock_time: 0.000959  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046110;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:55:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000659  Lock_time: 0.000396  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046111;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:55:10.27849' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:55:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000667  Lock_time: 0.000348  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046114;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:55:13.279367' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:55:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000962  Lock_time: 0.000577  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046115;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:55:14.279034' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1639  Schema:   QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000172  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046115;
SELECT
		  page_size, compress_ops, 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.000239  Lock_time: 0.000165  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046115;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:55:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000502  Lock_time: 0.000234  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046116;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:55:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1641  Schema:   QC_hit: No
# Query_time: 0.000434  Lock_time: 0.000286  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046118;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1641  Schema:   QC_hit: No
# Query_time: 0.000331  Lock_time: 0.000249  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046118;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002041  Lock_time: 0.001644  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046118;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:55:17.278038' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:55:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001357  Lock_time: 0.000390  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046124;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:55:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1643  Schema:   QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000159  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046125;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1643  Schema:   QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000171  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046125;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:55:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000600  Lock_time: 0.000295  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046126;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:55:25.280821' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:55:27
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000595  Lock_time: 0.000277  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046127;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:55:26.277798' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:55:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1645  Schema:   QC_hit: No
# Query_time: 0.000407  Lock_time: 0.000241  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046128;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1645  Schema:   QC_hit: No
# Query_time: 0.000314  Lock_time: 0.000215  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046128;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000493  Lock_time: 0.000193  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046128;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:55:27.277719' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:55:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633046131;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:55:30.277795' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:55:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000457  Lock_time: 0.000232  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046133;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:55:32.277701' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:55:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000763  Lock_time: 0.000280  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046134;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:55:33.280713' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:55:35
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000633  Lock_time: 0.000277  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046135;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:55:34.280884' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1647  Schema:   QC_hit: No
# Query_time: 0.000389  Lock_time: 0.000277  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046135;
SELECT
		  page_size, compress_ops, 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.000296  Lock_time: 0.000217  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046135;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:55:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000490  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046136;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:55:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1649  Schema:   QC_hit: No
# Query_time: 0.000361  Lock_time: 0.000175  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046138;
SELECT
                  page_size, buffer_pool_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.000303  Lock_time: 0.000198  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046138;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000514  Lock_time: 0.000236  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046138;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:55:37.281467' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:55:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000496  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046140;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:55:39.280732' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:55:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633046142;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:55:41.280756' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:55:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000479  Lock_time: 0.000196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046143;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:55:42.279778' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:55:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000543  Lock_time: 0.000206  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046144;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:55:43.279815' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:55:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1651  Schema:   QC_hit: No
# Query_time: 0.000313  Lock_time: 0.000229  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046145;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1651  Schema:   QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000211  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046145;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:55:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000543  Lock_time: 0.000262  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046146;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:55:45.278375' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:55:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1653  Schema:   QC_hit: No
# Query_time: 0.000371  Lock_time: 0.000262  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046148;
SELECT
                  page_size, buffer_pool_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.000549  Lock_time: 0.000356  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046148;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001724  Lock_time: 0.001109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046148;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:55:47.277736' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:55:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001047  Lock_time: 0.000196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046149;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:55:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000469  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046150;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:55:49.281' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:55:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000688  Lock_time: 0.000277  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046151;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:55:50.27801' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:55:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000548  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046152;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:55:51.279249' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:55:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000742  Lock_time: 0.000429  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046153;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:55:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000744  Lock_time: 0.000279  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046155;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:55:54.277784' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1655  Schema:   QC_hit: No
# Query_time: 0.000310  Lock_time: 0.000166  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046155;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1655  Schema:   QC_hit: No
# Query_time: 0.000250  Lock_time: 0.000171  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046155;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:55:56
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000777  Lock_time: 0.000359  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046156;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:55:55.277783' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:55:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1657  Schema:   QC_hit: No
# Query_time: 0.000384  Lock_time: 0.000244  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046158;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1657  Schema:   QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046158;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:55:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000922  Lock_time: 0.000506  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046159;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:55:58.278148' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:56:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000433  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046160;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:55:59.281067' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:56:02
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000484  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046162;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:56:01.28092' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:56:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001169  Lock_time: 0.000899  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046163;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:56:02.280723' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:56:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633046164;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:56:03.277543' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:56:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1659  Schema:   QC_hit: No
# Query_time: 0.000355  Lock_time: 0.000267  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046165;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1659  Schema:   QC_hit: No
# Query_time: 0.000210  Lock_time: 0.000136  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046165;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:56:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000748  Lock_time: 0.000281  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046166;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:56:05.277964' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:56:07
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001319  Lock_time: 0.000949  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046167;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:56:06.277814' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:56:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1661  Schema:   QC_hit: No
# Query_time: 0.000333  Lock_time: 0.000197  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046168;
SELECT
                  page_size, buffer_pool_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.000318  Lock_time: 0.000244  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046168;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:56:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000585  Lock_time: 0.000230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046169;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:56:08.27789' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:56:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000707  Lock_time: 0.000325  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046172;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:56:11.281806' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:56:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633046173;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:56:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000450  Lock_time: 0.000167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046174;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:56:13.278155' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:56:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001267  Lock_time: 0.000983  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046175;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:56:14.2781' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1663  Schema:   QC_hit: No
# Query_time: 0.000310  Lock_time: 0.000220  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046175;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1663  Schema:   QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000222  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046175;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:56:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000518  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046177;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:56:16.278258' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:56:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1665  Schema:   QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046178;
SELECT
		  page_size, compress_ops, 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.000236  Lock_time: 0.000168  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046178;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:56:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000502  Lock_time: 0.000185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046179;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:56:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002724  Lock_time: 0.002309  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046181;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:56:20.278098' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:56:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000687  Lock_time: 0.000465  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046182;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:56:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1667  Schema:   QC_hit: No
# Query_time: 0.000292  Lock_time: 0.000178  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046185;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1667  Schema:   QC_hit: No
# Query_time: 0.000199  Lock_time: 0.000131  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046185;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:56:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000587  Lock_time: 0.000323  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046186;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:56:25.277745' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:56:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1669  Schema:   QC_hit: No
# Query_time: 0.000398  Lock_time: 0.000236  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046188;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1669  Schema:   QC_hit: No
# Query_time: 0.000342  Lock_time: 0.000253  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046188;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000435  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046188;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:56:27.27768' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:56:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000774  Lock_time: 0.000361  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046189;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:56:28.281057' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:56:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000479  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046190;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:56:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000323  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046192;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:56:31.28067' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:56:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001710  Lock_time: 0.001433  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046193;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:56:32.280426' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:56:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002091  Lock_time: 0.001519  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046194;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:56:33.280941' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:56:35
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000622  Lock_time: 0.000245  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046195;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:56:34.27774' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1671  Schema:   QC_hit: No
# Query_time: 0.000228  Lock_time: 0.000156  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046195;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1671  Schema:   QC_hit: No
# Query_time: 0.000140  Lock_time: 0.000087  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046195;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:56:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1673  Schema:   QC_hit: No
# Query_time: 0.000314  Lock_time: 0.000214  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046198;
SELECT
		  page_size, compress_ops, 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.000251  Lock_time: 0.000179  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046198;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002363  Lock_time: 0.001655  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046198;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:56:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001705  Lock_time: 0.001307  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046200;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:56:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000665  Lock_time: 0.000265  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046202;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:56:41.277701' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:56:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000689  Lock_time: 0.000390  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046203;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:56:42.28111' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:56:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001638  Lock_time: 0.001380  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046204;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:56:43.280643' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:56:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001312  Lock_time: 0.000304  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046205;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1677  Schema:   QC_hit: No
# Query_time: 0.000310  Lock_time: 0.000198  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046205;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1677  Schema:   QC_hit: No
# Query_time: 0.000203  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046205;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:56:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1679  Schema:   QC_hit: No
# Query_time: 0.000327  Lock_time: 0.000243  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046208;
SELECT
		  page_size, compress_ops, 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.000300  Lock_time: 0.000218  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046208;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000834  Lock_time: 0.000399  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046208;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:56:47.277876' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:56:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000408  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046209;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:56:48.27852' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:56:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000450  Lock_time: 0.000174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046210;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:56:49.280271' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:56:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000602  Lock_time: 0.000292  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046211;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:56:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000614  Lock_time: 0.000354  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046212;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:56:51.278215' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:56:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633046213;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:56:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001750  Lock_time: 0.001331  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046214;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:56:53.277968' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:56:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000431  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046215;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1681  Schema:   QC_hit: No
# Query_time: 0.000239  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046215;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1681  Schema:   QC_hit: No
# Query_time: 0.000275  Lock_time: 0.000208  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046215;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:56:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000521  Lock_time: 0.000204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046217;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:56:56.280928' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:56:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1683  Schema:   QC_hit: No
# Query_time: 0.000270  Lock_time: 0.000184  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046218;
SELECT
                  page_size, buffer_pool_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.000225  Lock_time: 0.000157  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046218;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000485  Lock_time: 0.000221  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046218;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:56:57.27761' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:57:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000606  Lock_time: 0.000300  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046220;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:56:59.281265' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:57:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000381  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046221;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:57:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000643  Lock_time: 0.000312  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046223;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:57:02.278199' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:57:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002194  Lock_time: 0.001797  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046224;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:57:03.277951' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:57:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000662  Lock_time: 0.000285  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046225;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:57:04.277678' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1685  Schema:   QC_hit: No
# Query_time: 0.000345  Lock_time: 0.000229  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046225;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1685  Schema:   QC_hit: No
# Query_time: 0.000228  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046225;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:57:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1687  Schema:   QC_hit: No
# Query_time: 0.000261  Lock_time: 0.000175  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046228;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1687  Schema:   QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000177  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046228;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:57:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000428  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046230;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:57:09.27777' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:57:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003196  Lock_time: 0.002868  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046232;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:57:11.277675' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:57:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000622  Lock_time: 0.000257  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046233;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:57:12.281283' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:57:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000525  Lock_time: 0.000258  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046234;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:57:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1689  Schema:   QC_hit: No
# Query_time: 0.000340  Lock_time: 0.000183  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046235;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1689  Schema:   QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000177  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046235;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:57:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000614  Lock_time: 0.000222  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046237;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:57:16.281033' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:57:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1691  Schema:   QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046238;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1691  Schema:   QC_hit: No
# Query_time: 0.000191  Lock_time: 0.000118  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046238;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000529  Lock_time: 0.000237  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046238;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:57:17.277782' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:57:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000606  Lock_time: 0.000298  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046242;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:57:21.280651' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:57:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000349  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046243;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:57:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000524  Lock_time: 0.000207  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046245;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:57:24.281127' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1693  Schema:   QC_hit: No
# Query_time: 0.000353  Lock_time: 0.000270  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046245;
SELECT
		  page_size, compress_ops, 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.000200  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046245;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:57:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1695  Schema:   QC_hit: No
# Query_time: 0.000432  Lock_time: 0.000291  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046248;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1695  Schema:   QC_hit: No
# Query_time: 0.000270  Lock_time: 0.000186  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046248;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000419  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046248;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:57:27.28096' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:57:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000528  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046250;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:57:29.280805' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:57:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001818  Lock_time: 0.001555  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046251;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:57:30.280435' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:57:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000504  Lock_time: 0.000190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046252;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:57:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000375  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046253;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:57:32.281251' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:57:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000473  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046254;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:57:33.280565' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:57:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1697  Schema:   QC_hit: No
# Query_time: 0.000435  Lock_time: 0.000317  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046255;
SELECT
                  page_size, buffer_pool_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.000216  Lock_time: 0.000126  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046255;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:57:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000432  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046257;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:57:36.281285' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:57:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1699  Schema:   QC_hit: No
# Query_time: 0.000394  Lock_time: 0.000287  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046258;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1699  Schema:   QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000225  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046258;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:57:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000529  Lock_time: 0.000197  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046259;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:57:38.281481' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:57:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001416  Lock_time: 0.001074  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046260;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:57:39.280784' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:57:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000503  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046261;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:57:40.277526' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:57:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000470  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046262;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:57:41.278119' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:57:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000372  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046263;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:57:42.278198' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:57:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002013  Lock_time: 0.001698  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046264;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:57:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001685  Lock_time: 0.001263  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046265;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:57:44.278653' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1701  Schema:   QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000150  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046265;
SELECT
		  page_size, compress_ops, 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.000291  Lock_time: 0.000230  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046265;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:57:47
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000596  Lock_time: 0.000249  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046267;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:57:46.278129' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:57:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1703  Schema:   QC_hit: No
# Query_time: 0.000410  Lock_time: 0.000276  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046268;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1703  Schema:   QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000191  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046268;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:57:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000568  Lock_time: 0.000243  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046270;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:57:49.278282' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:57:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1705  Schema:   QC_hit: No
# Query_time: 0.000429  Lock_time: 0.000257  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046275;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1705  Schema:   QC_hit: No
# Query_time: 0.000183  Lock_time: 0.000128  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046275;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:57:56
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000876  Lock_time: 0.000460  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046276;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:57:55.280633' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:57:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1707  Schema:   QC_hit: No
# Query_time: 0.000286  Lock_time: 0.000165  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046278;
SELECT
                  page_size, buffer_pool_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.000238  Lock_time: 0.000171  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046278;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001715  Lock_time: 0.001370  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046278;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:57:57.280618' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:57:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001348  Lock_time: 0.000598  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046279;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:58:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000344  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046280;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:58:02
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000821  Lock_time: 0.000331  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046282;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:58:01.278376' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:58:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000972  Lock_time: 0.000359  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046283;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:58:02.280777' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:58:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000685  Lock_time: 0.000320  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046284;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:58:03.280972' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:58:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001875  Lock_time: 0.001476  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046285;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:58:04.280385' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1709  Schema:   QC_hit: No
# Query_time: 0.000382  Lock_time: 0.000264  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046285;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1709  Schema:   QC_hit: No
# Query_time: 0.000303  Lock_time: 0.000219  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046285;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:58:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000401  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046286;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:58:07
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000406  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046287;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:58:06.28103' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:58:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1711  Schema:   QC_hit: No
# Query_time: 0.000292  Lock_time: 0.000206  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046288;
SELECT
		  page_size, compress_ops, 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.000253  Lock_time: 0.000176  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046288;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.007557  Lock_time: 0.007169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046288;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:58:07.278246' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:58:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001267  Lock_time: 0.000352  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046292;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:58:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001185  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046293;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:58:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1713  Schema:   QC_hit: No
# Query_time: 0.000374  Lock_time: 0.000264  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046295;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1713  Schema:   QC_hit: No
# Query_time: 0.000169  Lock_time: 0.000113  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046295;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:58:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1715  Schema:   QC_hit: No
# Query_time: 0.000397  Lock_time: 0.000236  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046298;
SELECT
		  page_size, compress_ops, 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.000338  Lock_time: 0.000247  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046298;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:58:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000569  Lock_time: 0.000197  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046299;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:58:18.277701' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:58:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001132  Lock_time: 0.000709  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046301;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:58:20.277712' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:58:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633046304;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:58:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1717  Schema:   QC_hit: No
# Query_time: 0.000349  Lock_time: 0.000232  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046305;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1717  Schema:   QC_hit: No
# Query_time: 0.001045  Lock_time: 0.000980  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046305;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:58:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001094  Lock_time: 0.000360  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046306;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:58:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1719  Schema:   QC_hit: No
# Query_time: 0.000380  Lock_time: 0.000278  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046308;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1719  Schema:   QC_hit: No
# Query_time: 0.000230  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046308;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.012375  Lock_time: 0.012049  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046308;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:58:27.277791' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:58:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002327  Lock_time: 0.001863  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046309;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:58:28.277707' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:58:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000418  Lock_time: 0.000167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046310;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:58:29.280737' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:58:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000376  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046312;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:58:31.2777' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:58:35
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000665  Lock_time: 0.000327  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046315;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:58:34.278122' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1721  Schema:   QC_hit: No
# Query_time: 0.000203  Lock_time: 0.000126  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046315;
SELECT
		  page_size, compress_ops, 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.000191  Lock_time: 0.000120  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046315;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:58:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000476  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046317;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:58:36.281072' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:58:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1723  Schema:   QC_hit: No
# Query_time: 0.000315  Lock_time: 0.000173  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046318;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1723  Schema:   QC_hit: No
# Query_time: 0.000248  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046318;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000509  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046318;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:58:37.277506' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:58:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000504  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046319;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:58:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000843  Lock_time: 0.000213  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046321;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:58:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000394  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046323;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:58:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000514  Lock_time: 0.000182  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046325;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:58:44.28494' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1725  Schema:   QC_hit: No
# Query_time: 0.000248  Lock_time: 0.000166  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046325;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1725  Schema:   QC_hit: No
# Query_time: 0.000455  Lock_time: 0.000364  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046325;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:58:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000960  Lock_time: 0.000265  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046326;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:58:47
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633046327;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:58:46.278261' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:58:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1727  Schema:   QC_hit: No
# Query_time: 0.000371  Lock_time: 0.000196  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046328;
SELECT
		  page_size, compress_ops, 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.000386  Lock_time: 0.000291  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046328;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001507  Lock_time: 0.001234  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046328;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:58:47.27796' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:58:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001958  Lock_time: 0.001507  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046329;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:58:48.277786' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:58:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000494  Lock_time: 0.000242  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046333;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:58:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000448  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046334;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:58:53.280909' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:58:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000564  Lock_time: 0.000226  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046335;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1729  Schema:   QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046335;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1729  Schema:   QC_hit: No
# Query_time: 0.000149  Lock_time: 0.000095  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046335;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:58:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1731  Schema:   QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000196  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046338;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1731  Schema:   QC_hit: No
# Query_time: 0.000291  Lock_time: 0.000155  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046338;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:58:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000649  Lock_time: 0.000230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046339;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:58:58.280817' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:59:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001696  Lock_time: 0.001453  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046343;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:59:02.2777' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:59:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002000  Lock_time: 0.001588  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046345;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:59:04.278176' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1733  Schema:   QC_hit: No
# Query_time: 0.000209  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046345;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1733  Schema:   QC_hit: No
# Query_time: 0.000152  Lock_time: 0.000102  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046345;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:59:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000566  Lock_time: 0.000230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046346;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:59:05.277857' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:59:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1735  Schema:   QC_hit: No
# Query_time: 0.000221  Lock_time: 0.000126  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046348;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1735  Schema:   QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000175  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046348;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:59:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000562  Lock_time: 0.000248  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046349;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:59:08.279924' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:59:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000420  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046350;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:59:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000652  Lock_time: 0.000218  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046351;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:59:10.281124' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:59:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001033  Lock_time: 0.000224  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046352;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 210930 23:59:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000312  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046354;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:59:13.280517' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:59:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000683  Lock_time: 0.000335  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046355;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:59:14.280739' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1738  Schema:   QC_hit: No
# Query_time: 0.000388  Lock_time: 0.000264  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046355;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1738  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=1633046355;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:59:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1740  Schema:   QC_hit: No
# Query_time: 0.000486  Lock_time: 0.000260  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046358;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1740  Schema:   QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000178  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046358;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000474  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046358;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:59:17.277685' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:59:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001716  Lock_time: 0.001285  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046361;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:59:20.281015' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:59:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000879  Lock_time: 0.000681  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046362;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:59:21.280162' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:59:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000548  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046363;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:59:22.280366' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:59:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001805  Lock_time: 0.001527  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046364;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:59:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001078  Lock_time: 0.000337  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046365;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1743  Schema:   QC_hit: No
# Query_time: 0.000389  Lock_time: 0.000218  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046365;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1743  Schema:   QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000180  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046365;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:59:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000633  Lock_time: 0.000317  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046366;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:59:25.277949' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:59:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1745  Schema:   QC_hit: No
# Query_time: 0.000609  Lock_time: 0.000353  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046368;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1745  Schema:   QC_hit: No
# Query_time: 0.000230  Lock_time: 0.000159  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046368;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:59:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000469  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046369;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:59:28.27807' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:59:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001409  Lock_time: 0.001072  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046371;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:59:30.277523' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:59:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000468  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046373;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:59:32.277911' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:59:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1747  Schema:   QC_hit: No
# Query_time: 0.000424  Lock_time: 0.000247  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046375;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1747  Schema:   QC_hit: No
# Query_time: 0.000362  Lock_time: 0.000194  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046375;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:59:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000348  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046376;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:59:35.277485' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:59:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1749  Schema:   QC_hit: No
# Query_time: 0.000492  Lock_time: 0.000291  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046378;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1749  Schema:   QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000183  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046378;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:59:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000890  Lock_time: 0.000419  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046379;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:59:38.277931' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:59:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000343  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046380;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:59:39.27897' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:59:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001809  Lock_time: 0.001446  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046381;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:59:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000674  Lock_time: 0.000296  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046382;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:59:41.279231' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:59:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000394  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046383;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:59:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002947  Lock_time: 0.001541  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046385;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:59:44.279871' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1751  Schema:   QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000198  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046385;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1751  Schema:   QC_hit: No
# Query_time: 0.000543  Lock_time: 0.000433  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046385;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:59:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000391  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046386;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:59:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1753  Schema:   QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000149  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046388;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1753  Schema:   QC_hit: No
# Query_time: 0.000191  Lock_time: 0.000112  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046388;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210930 23:59:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000577  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046389;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:59:48.280696' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:59:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001372  Lock_time: 0.001027  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046390;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:59:49.28074' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:59:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000560  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046391;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:59:50.280407' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:59:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000551  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046393;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:59:52.280773' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:59:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000520  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046395;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:59:54.277742' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1755  Schema:   QC_hit: No
# Query_time: 0.000351  Lock_time: 0.000237  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046395;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1755  Schema:   QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046395;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210930 23:59:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000420  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046397;
select * from VID_JOB where    JOB_STATUS = '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: 210930 23:59:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1757  Schema:   QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000167  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046398;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1757  Schema:   QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000221  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046398;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001304  Lock_time: 0.000998  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046398;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:59:57.280268' order by MODIFIED_DATE ASC limit 1;
# Time: 210930 23:59:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000996  Lock_time: 0.000659  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046399;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:59:58.281916' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:00:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000449  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046400;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-09-30 23:59:59.277564' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:00:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000343  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046401;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:00:00.28077' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:00:02
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000530  Lock_time: 0.000174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046402;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:00:01.277906' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:00:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001126  Lock_time: 0.000806  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046404;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:00:03.278224' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:00:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001209  Lock_time: 0.000312  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046405;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1759  Schema:   QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046405;
SELECT
                  page_size, buffer_pool_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.000290  Lock_time: 0.000207  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046405;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:00:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000515  Lock_time: 0.000223  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046406;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:00:05.278177' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:00:07
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000389  Lock_time: 0.000155  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046407;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:00:06.277845' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:00:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1761  Schema:   QC_hit: No
# Query_time: 0.000328  Lock_time: 0.000240  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046408;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1761  Schema:   QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000185  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046408;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:00:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000716  Lock_time: 0.000403  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046409;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:00:08.281161' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:00:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000599  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046410;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:00:09.277928' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:00:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001545  Lock_time: 0.001223  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046412;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:00:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001744  Lock_time: 0.001402  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046414;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:00:13.280392' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:00:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001374  Lock_time: 0.001081  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046415;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:00:14.280788' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1763  Schema:   QC_hit: No
# Query_time: 0.000306  Lock_time: 0.000184  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046415;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1763  Schema:   QC_hit: No
# Query_time: 0.000194  Lock_time: 0.000111  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046415;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:00:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000744  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046416;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:00:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1765  Schema:   QC_hit: No
# Query_time: 0.000408  Lock_time: 0.000268  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046418;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1765  Schema:   QC_hit: No
# Query_time: 0.000359  Lock_time: 0.000226  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046418;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000434  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046418;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:00:17.277594' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:00:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000539  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046421;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:00:20.281276' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:00:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000410  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046422;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:00:21.286989' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:00:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000405  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046423;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:00:22.280941' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:00:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000574  Lock_time: 0.000223  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046424;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:00:23.279095' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:00:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000488  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046425;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:00:24.278628' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1767  Schema:   QC_hit: No
# Query_time: 0.000221  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046425;
SELECT
		  page_size, compress_ops, 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.000203  Lock_time: 0.000127  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046425;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:00:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000545  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046426;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:00:25.281336' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:00:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1769  Schema:   QC_hit: No
# Query_time: 0.000372  Lock_time: 0.000253  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046428;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1769  Schema:   QC_hit: No
# Query_time: 0.000302  Lock_time: 0.000226  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046428;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000486  Lock_time: 0.000185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046428;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:00:27.281147' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:00:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000406  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046429;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:00:28.278025' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:00:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000073  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046433;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:00:32.2777' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:00:35
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000355  Lock_time: 0.000076  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046435;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:00:34.280663' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1771  Schema:   QC_hit: No
# Query_time: 0.000357  Lock_time: 0.000231  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046435;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1771  Schema:   QC_hit: No
# Query_time: 0.000624  Lock_time: 0.000542  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046435;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:00:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633046436;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:00:35.280687' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:00:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1773  Schema:   QC_hit: No
# Query_time: 0.000395  Lock_time: 0.000268  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046438;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1773  Schema:   QC_hit: No
# Query_time: 0.000497  Lock_time: 0.000371  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046438;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:00:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000579  Lock_time: 0.000253  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046439;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:00:38.280989' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:00:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000460  Lock_time: 0.000167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046440;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:00:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000309  Lock_time: 0.000075  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046443;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:00:42.28082' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:00:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000555  Lock_time: 0.000213  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046445;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:00:44.278556' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1775  Schema:   QC_hit: No
# Query_time: 0.000269  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046445;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1775  Schema:   QC_hit: No
# Query_time: 0.000223  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046445;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:00:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000553  Lock_time: 0.000247  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046446;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:00:45.280939' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:00:47
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000551  Lock_time: 0.000232  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046447;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:00:46.27826' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:00:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1777  Schema:   QC_hit: No
# Query_time: 0.000300  Lock_time: 0.000206  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046448;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1777  Schema:   QC_hit: No
# Query_time: 0.000292  Lock_time: 0.000212  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046448;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000436  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046448;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:00:47.280447' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:00:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001419  Lock_time: 0.001099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046451;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:00:50.280447' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:00:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000289  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046452;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:00:51.280219' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:00:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000477  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046454;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:00:53.28074' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:00:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000571  Lock_time: 0.000283  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046455;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:00:54.277694' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1779  Schema:   QC_hit: No
# Query_time: 0.000630  Lock_time: 0.000530  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046455;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1779  Schema:   QC_hit: No
# Query_time: 0.000163  Lock_time: 0.000111  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046455;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:00:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1781  Schema:   QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000163  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046458;
SELECT
                  page_size, buffer_pool_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.000195  Lock_time: 0.000120  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046458;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000407  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046458;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:01:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000061  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046460;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:00:59.28009' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:01:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046461;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:01:00.277843' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:01:02
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000457  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046462;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:01:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001917  Lock_time: 0.001569  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046463;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:01:02.277663' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:01:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000367  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046464;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:01:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001708  Lock_time: 0.001354  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046465;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:01:04.280879' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1783  Schema:   QC_hit: No
# Query_time: 0.000238  Lock_time: 0.000176  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046465;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1783  Schema:   QC_hit: No
# Query_time: 0.000214  Lock_time: 0.000164  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046465;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:01:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000769  Lock_time: 0.000332  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046466;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:01:05.277677' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:01:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1785  Schema:   QC_hit: No
# Query_time: 0.000291  Lock_time: 0.000188  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046468;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1785  Schema:   QC_hit: No
# Query_time: 0.000214  Lock_time: 0.000159  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046468;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001363  Lock_time: 0.001101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046468;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:01:07.280275' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:01:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000754  Lock_time: 0.000445  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046471;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:01:10.280777' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:01:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000457  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046472;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:01:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001634  Lock_time: 0.001331  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046474;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:01:13.280586' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:01:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1788  Schema:   QC_hit: No
# Query_time: 0.000341  Lock_time: 0.000190  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046475;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1788  Schema:   QC_hit: No
# Query_time: 0.000276  Lock_time: 0.000207  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046475;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:01:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000457  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046476;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:01:15.277962' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:01:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1790  Schema:   QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000164  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046478;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1790  Schema:   QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000149  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046478;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:01:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000424  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046480;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:01:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001810  Lock_time: 0.001320  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046481;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:01:20.277865' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:01:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000628  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046482;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:01:21.280723' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:01:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000417  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046485;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1792  Schema:   QC_hit: No
# Query_time: 0.000196  Lock_time: 0.000115  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046485;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1792  Schema:   QC_hit: No
# Query_time: 0.000180  Lock_time: 0.000121  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046485;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:01:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1794  Schema:   QC_hit: No
# Query_time: 0.000652  Lock_time: 0.000450  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046488;
SELECT
		  page_size, compress_ops, 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.000342  Lock_time: 0.000250  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046488;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:01:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000452  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046489;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:01:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000490  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046490;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:01:29.277882' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:01:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000457  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046491;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:01:30.277585' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:01:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000857  Lock_time: 0.000227  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046493;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:01:32.280075' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:01:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000385  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046494;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:01:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1796  Schema:   QC_hit: No
# Query_time: 0.000291  Lock_time: 0.000198  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046495;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1796  Schema:   QC_hit: No
# Query_time: 0.000157  Lock_time: 0.000104  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046495;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:01:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001555  Lock_time: 0.001267  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046496;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:01:35.277404' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:01:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002068  Lock_time: 0.001702  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046497;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:01:36.277994' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:01:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1798  Schema:   QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000199  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046498;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1798  Schema:   QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000209  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046498;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000517  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046498;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:01:37.280737' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:01:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000645  Lock_time: 0.000228  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046499;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:01:38.277671' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:01:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000341  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046500;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:01:39.277956' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:01:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000635  Lock_time: 0.000307  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046502;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:01:41.278094' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:01:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000535  Lock_time: 0.000234  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046504;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:01:43.28054' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:01:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000577  Lock_time: 0.000278  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046505;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1800  Schema:   QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000186  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046505;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1800  Schema:   QC_hit: No
# Query_time: 0.000196  Lock_time: 0.000127  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046505;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:01:47
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000497  Lock_time: 0.000246  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046507;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:01:46.277637' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:01:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1802  Schema:   QC_hit: No
# Query_time: 0.000384  Lock_time: 0.000246  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046508;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1802  Schema:   QC_hit: No
# Query_time: 0.000312  Lock_time: 0.000222  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046508;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:01:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000444  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046513;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:01:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000636  Lock_time: 0.000303  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046514;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:01:53.278156' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:01:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000489  Lock_time: 0.000174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046515;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1804  Schema:   QC_hit: No
# Query_time: 0.000417  Lock_time: 0.000209  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046515;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1804  Schema:   QC_hit: No
# Query_time: 0.000252  Lock_time: 0.000158  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046515;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:01:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1806  Schema:   QC_hit: No
# Query_time: 0.000350  Lock_time: 0.000242  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046518;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1806  Schema:   QC_hit: No
# Query_time: 0.000250  Lock_time: 0.000168  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046518;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000516  Lock_time: 0.000190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046518;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:01:57.277782' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:02:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000512  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046520;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:01:59.277991' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:02:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001638  Lock_time: 0.001410  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046521;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:02:00.277779' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:02:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000612  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046524;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:02:03.280833' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:02:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000509  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046525;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:02:04.277853' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1808  Schema:   QC_hit: No
# Query_time: 0.000239  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046525;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1808  Schema:   QC_hit: No
# Query_time: 0.000168  Lock_time: 0.000104  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046525;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:02:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000643  Lock_time: 0.000215  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046526;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:02:05.280928' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:02:07
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000516  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046527;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:02:06.277991' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:02:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1810  Schema:   QC_hit: No
# Query_time: 0.000261  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046528;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1810  Schema:   QC_hit: No
# Query_time: 0.000191  Lock_time: 0.000119  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046528;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:02:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001727  Lock_time: 0.001429  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046529;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:02:08.277818' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:02:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001578  Lock_time: 0.001166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046532;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:02:11.277893' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:02:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000463  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046533;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:02:12.277925' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:02:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000960  Lock_time: 0.000661  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046534;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:02:13.278092' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:02:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000532  Lock_time: 0.000212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046535;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:02:14.280691' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1812  Schema:   QC_hit: No
# Query_time: 0.002565  Lock_time: 0.002430  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046535;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1812  Schema:   QC_hit: No
# Query_time: 0.000305  Lock_time: 0.000233  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046535;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:02:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000532  Lock_time: 0.000231  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046536;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:02:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000426  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046537;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:02:16.277733' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:02:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1814  Schema:   QC_hit: No
# Query_time: 0.000388  Lock_time: 0.000258  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046538;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1814  Schema:   QC_hit: No
# Query_time: 0.000329  Lock_time: 0.000249  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046538;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000359  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046538;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:02:17.280491' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:02:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000487  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046539;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:02:18.280782' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:02:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001942  Lock_time: 0.001636  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046540;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:02:19.280284' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:02:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000497  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046541;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:02:20.280533' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:02:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001168  Lock_time: 0.000330  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046542;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:02:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000358  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046543;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:02:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000427  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046544;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:02:23.277538' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:02:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000582  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046545;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:02:24.280741' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1816  Schema:   QC_hit: No
# Query_time: 0.000291  Lock_time: 0.000220  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046545;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1816  Schema:   QC_hit: No
# Query_time: 0.000360  Lock_time: 0.000303  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046545;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:02:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1818  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=1633046548;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1818  Schema:   QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046548;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001457  Lock_time: 0.001102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046548;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:02:27.277744' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:02:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001943  Lock_time: 0.001633  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046549;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:02:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046550;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:02:29.277369' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:02:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000441  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046552;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:02:31.277982' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:02:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000356  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046553;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:02:32.27822' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:02:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000408  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046554;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:02:33.278466' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:02:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1820  Schema:   QC_hit: No
# Query_time: 0.000296  Lock_time: 0.000222  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046555;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1820  Schema:   QC_hit: No
# Query_time: 0.000281  Lock_time: 0.000221  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046555;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:02:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000367  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046557;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:02:36.277694' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:02:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1822  Schema:   QC_hit: No
# Query_time: 0.000309  Lock_time: 0.000234  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046558;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1822  Schema:   QC_hit: No
# Query_time: 0.000192  Lock_time: 0.000125  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046558;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000399  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046558;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:02:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000535  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046559;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:02:38.27765' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:02:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000572  Lock_time: 0.000230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046562;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:02:41.278124' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:02:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001056  Lock_time: 0.000322  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046563;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:02:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002120  Lock_time: 0.001789  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046565;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:02:44.27983' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1824  Schema:   QC_hit: No
# Query_time: 0.000340  Lock_time: 0.000248  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046565;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1824  Schema:   QC_hit: No
# Query_time: 0.000230  Lock_time: 0.000167  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046565;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:02:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000556  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046566;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:02:45.277676' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:02:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1826  Schema:   QC_hit: No
# Query_time: 0.000302  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046568;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1826  Schema:   QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000130  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046568;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001901  Lock_time: 0.001615  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046568;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:02:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000497  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046570;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:02:49.277716' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:02:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000468  Lock_time: 0.000185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046571;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:02:50.277822' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:02:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000527  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046572;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:02:51.280727' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:02:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000442  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046573;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:02:52.277734' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:02:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1828  Schema:   QC_hit: No
# Query_time: 0.000318  Lock_time: 0.000180  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046575;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1828  Schema:   QC_hit: No
# Query_time: 0.000198  Lock_time: 0.000130  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046575;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:02:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000504  Lock_time: 0.000221  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046577;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:02:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1830  Schema:   QC_hit: No
# Query_time: 0.000356  Lock_time: 0.000280  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046578;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1830  Schema:   QC_hit: No
# Query_time: 0.000221  Lock_time: 0.000132  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046578;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:02:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633046579;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:03:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000711  Lock_time: 0.000366  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046581;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:03:00.277749' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:03:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000397  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046583;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:03:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000489  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046584;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:03:03.278061' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:03:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001548  Lock_time: 0.001090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046585;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:03:04.278103' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1832  Schema:   QC_hit: No
# Query_time: 0.000423  Lock_time: 0.000336  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046585;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1832  Schema:   QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046585;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:03:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1834  Schema:   QC_hit: No
# Query_time: 0.000334  Lock_time: 0.000228  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046588;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1834  Schema:   QC_hit: No
# Query_time: 0.000258  Lock_time: 0.000176  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046588;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000994  Lock_time: 0.000610  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046588;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:03:07.277982' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:03:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000500  Lock_time: 0.000232  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046589;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:03:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000479  Lock_time: 0.000218  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046590;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:03:09.280724' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:03:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000545  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046591;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:03:10.277527' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:03:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002869  Lock_time: 0.000640  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046592;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:03:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000477  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046593;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:03:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1836  Schema:   QC_hit: No
# Query_time: 0.000535  Lock_time: 0.000388  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046595;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1836  Schema:   QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000166  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046595;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:03:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000552  Lock_time: 0.000211  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046596;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:03:15.280729' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:03:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001676  Lock_time: 0.001357  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046597;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:03:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1838  Schema:   QC_hit: No
# Query_time: 0.000305  Lock_time: 0.000218  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046598;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1838  Schema:   QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000206  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046598;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000516  Lock_time: 0.000258  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046598;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:03:17.278046' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:03:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000479  Lock_time: 0.000207  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046599;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:03:18.278371' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:03:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001271  Lock_time: 0.000458  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046602;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:03:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000424  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046603;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:03:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001059  Lock_time: 0.000312  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046604;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:03:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001989  Lock_time: 0.001675  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046605;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:03:24.27765' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1840  Schema:   QC_hit: No
# Query_time: 0.000281  Lock_time: 0.000201  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046605;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1840  Schema:   QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000168  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046605;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:03:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1842  Schema:   QC_hit: No
# Query_time: 0.000250  Lock_time: 0.000163  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046608;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1842  Schema:   QC_hit: No
# Query_time: 0.000326  Lock_time: 0.000165  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046608;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000728  Lock_time: 0.000302  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046608;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:03:27.277702' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:03:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633046609;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:03:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000415  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046614;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:03:33.277907' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:03:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1844  Schema:   QC_hit: No
# Query_time: 0.000348  Lock_time: 0.000226  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046615;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1844  Schema:   QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046615;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:03:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000919  Lock_time: 0.000325  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046616;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000980  Lock_time: 0.000810  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046616;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:03:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000506  Lock_time: 0.000240  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046617;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:03:36.277879' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:03:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1846  Schema:   QC_hit: No
# Query_time: 0.000292  Lock_time: 0.000198  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046618;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1846  Schema:   QC_hit: No
# Query_time: 0.000242  Lock_time: 0.000169  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046618;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001011  Lock_time: 0.000562  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046618;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:03:37.277923' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:03:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000437  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046621;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:03:40.277639' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:03:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000449  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046622;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:03:41.278617' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:03:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001727  Lock_time: 0.001433  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046623;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:03:42.277735' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:03:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000669  Lock_time: 0.000253  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046625;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:03:44.280744' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1848  Schema:   QC_hit: No
# Query_time: 0.000446  Lock_time: 0.000305  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046625;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1848  Schema:   QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046625;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:03:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000643  Lock_time: 0.000396  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046626;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:03:47
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000479  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046627;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:03:46.277619' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:03:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1850  Schema:   QC_hit: No
# Query_time: 0.000363  Lock_time: 0.000196  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046628;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1850  Schema:   QC_hit: No
# Query_time: 0.000357  Lock_time: 0.000254  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046628;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:03:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001061  Lock_time: 0.000316  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046629;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:03:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001728  Lock_time: 0.001449  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046630;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:03:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000617  Lock_time: 0.000290  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046634;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:03:53.277765' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:03:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000852  Lock_time: 0.000428  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046635;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:03:54.280864' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1852  Schema:   QC_hit: No
# Query_time: 0.000354  Lock_time: 0.000259  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046635;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1852  Schema:   QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000218  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046635;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:03:56
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000624  Lock_time: 0.000294  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046636;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:03:55.277605' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:03:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1854  Schema:   QC_hit: No
# Query_time: 0.000324  Lock_time: 0.000181  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046638;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1854  Schema:   QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000132  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046638;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000564  Lock_time: 0.000257  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046638;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:03:57.277661' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:03:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000674  Lock_time: 0.000274  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046639;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:03:58.277871' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:04:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000430  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046640;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:03:59.280348' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:04:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000451  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046644;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:04:03.278446' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:04:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1856  Schema:   QC_hit: No
# Query_time: 0.000322  Lock_time: 0.000169  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046645;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1856  Schema:   QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046645;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:04:07
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001275  Lock_time: 0.001020  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046647;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:04:06.277869' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:04:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1858  Schema:   QC_hit: No
# Query_time: 0.000343  Lock_time: 0.000237  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046648;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1858  Schema:   QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000197  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046648;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001460  Lock_time: 0.001027  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046648;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:04:07.278068' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:04:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000550  Lock_time: 0.000238  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046649;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:04:08.280679' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:04:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000553  Lock_time: 0.000225  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046650;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:04:09.277577' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:04:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000566  Lock_time: 0.000307  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046651;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:04:10.277874' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:04:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000394  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046652;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:04:11.280596' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:04:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633046653;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:04:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000422  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046654;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:04:13.28078' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:04:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000409  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046655;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:04:14.280673' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1860  Schema:   QC_hit: No
# Query_time: 0.001493  Lock_time: 0.001366  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046655;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1860  Schema:   QC_hit: No
# Query_time: 0.000214  Lock_time: 0.000142  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046655;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:04:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000580  Lock_time: 0.000309  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046656;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:04:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000451  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046657;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:04:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1862  Schema:   QC_hit: No
# Query_time: 0.000420  Lock_time: 0.000271  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046658;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1862  Schema:   QC_hit: No
# Query_time: 0.000338  Lock_time: 0.000252  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046658;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:04:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002057  Lock_time: 0.001766  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046660;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:04:19.280498' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:04:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000481  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046662;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:04:21.280626' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:04:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001829  Lock_time: 0.001478  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046663;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:04:22.280557' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:04:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001302  Lock_time: 0.000976  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046664;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:04:23.280785' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:04:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000433  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046665;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:04:24.27806' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1864  Schema:   QC_hit: No
# Query_time: 0.000434  Lock_time: 0.000283  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046665;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1864  Schema:   QC_hit: No
# Query_time: 0.000351  Lock_time: 0.000252  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046665;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:04:27
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000481  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046667;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:04:26.280846' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:04:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1866  Schema:   QC_hit: No
# Query_time: 0.000417  Lock_time: 0.000291  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046668;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1866  Schema:   QC_hit: No
# Query_time: 0.000359  Lock_time: 0.000275  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046668;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000562  Lock_time: 0.000228  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046668;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:04:27.277761' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:04:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000383  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046670;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:04:29.28033' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:04:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001637  Lock_time: 0.001170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046671;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:04:30.280138' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:04:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000410  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046672;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:04:31.277889' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:04:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000336  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046673;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:04:32.277789' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:04:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1868  Schema:   QC_hit: No
# Query_time: 0.000422  Lock_time: 0.000207  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046675;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1868  Schema:   QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000170  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046675;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:04:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000525  Lock_time: 0.000193  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046676;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:04:35.277926' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:04:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1870  Schema:   QC_hit: No
# Query_time: 0.000261  Lock_time: 0.000173  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046678;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1870  Schema:   QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046678;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000354  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046678;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:04:37.27783' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:04:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000662  Lock_time: 0.000230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046679;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:04:38.280878' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:04:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000615  Lock_time: 0.000251  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046680;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:04:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000758  Lock_time: 0.000291  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046681;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:04:40.277833' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:04:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004232  Lock_time: 0.003898  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046682;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:04:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000861  Lock_time: 0.000330  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046684;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:04:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000457  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046685;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:04:44.27762' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1872  Schema:   QC_hit: No
# Query_time: 0.000307  Lock_time: 0.000186  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046685;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1872  Schema:   QC_hit: No
# Query_time: 0.000233  Lock_time: 0.000174  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046685;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:04:47
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000423  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046687;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:04:46.27785' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:04:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1874  Schema:   QC_hit: No
# Query_time: 0.000305  Lock_time: 0.000189  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046688;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1874  Schema:   QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000131  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046688;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001606  Lock_time: 0.001269  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046688;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:04:47.277694' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:04:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002058  Lock_time: 0.001401  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046689;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:04:48.277632' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:04:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000752  Lock_time: 0.000324  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046694;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:04:53.278317' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:04:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001904  Lock_time: 0.001562  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046695;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:04:54.278071' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1876  Schema:   QC_hit: No
# Query_time: 0.000450  Lock_time: 0.000291  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046695;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1876  Schema:   QC_hit: No
# Query_time: 0.000315  Lock_time: 0.000236  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046695;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:04:56
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001473  Lock_time: 0.001203  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046696;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:04:55.278277' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:04:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000625  Lock_time: 0.000265  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046697;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:04:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1878  Schema:   QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000183  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046698;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1878  Schema:   QC_hit: No
# Query_time: 0.000219  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046698;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:05:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000717  Lock_time: 0.000319  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046700;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:04:59.280573' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:05:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001139  Lock_time: 0.000797  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046701;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:05:00.280127' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:05:02
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000782  Lock_time: 0.000405  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046702;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:05:01.277653' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:05:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1880  Schema:   QC_hit: No
# Query_time: 0.000365  Lock_time: 0.000266  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046705;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1880  Schema:   QC_hit: No
# Query_time: 0.000241  Lock_time: 0.000166  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046705;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:05:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001420  Lock_time: 0.001062  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046706;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:05:05.280306' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:05:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1882  Schema:   QC_hit: No
# Query_time: 0.000300  Lock_time: 0.000183  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046708;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1882  Schema:   QC_hit: No
# Query_time: 0.000274  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046708;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000775  Lock_time: 0.000308  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046708;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:05:07.277723' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:05:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001448  Lock_time: 0.000525  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046712;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:05:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000409  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046713;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:05:12.277811' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:05:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000364  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046714;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:05:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1884  Schema:   QC_hit: No
# Query_time: 0.000298  Lock_time: 0.000215  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046715;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1884  Schema:   QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046715;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:05:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000643  Lock_time: 0.000379  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046716;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:05:15.277634' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:05:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000574  Lock_time: 0.000159  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046717;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:05:16.281416' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:05:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1886  Schema:   QC_hit: No
# Query_time: 0.000325  Lock_time: 0.000241  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046718;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1886  Schema:   QC_hit: No
# Query_time: 0.000201  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046718;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001461  Lock_time: 0.001146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046718;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:05:17.280417' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:05:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000731  Lock_time: 0.000442  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046719;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:05:18.280393' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:05:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000657  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046723;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:05:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000786  Lock_time: 0.000412  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046725;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:05:24.278013' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1888  Schema:   QC_hit: No
# Query_time: 0.000299  Lock_time: 0.000232  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046725;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1888  Schema:   QC_hit: No
# Query_time: 0.000195  Lock_time: 0.000137  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046725;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:05:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000547  Lock_time: 0.000238  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046726;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:05:25.277556' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:05:27
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000557  Lock_time: 0.000254  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046727;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:05:26.277663' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:05:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1890  Schema:   QC_hit: No
# Query_time: 0.000404  Lock_time: 0.000306  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046728;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1890  Schema:   QC_hit: No
# Query_time: 0.000361  Lock_time: 0.000271  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046728;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:05:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000583  Lock_time: 0.000289  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046729;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:05:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001632  Lock_time: 0.001346  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046731;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:05:30.280403' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:05:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000462  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046732;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:05:31.277667' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:05:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001828  Lock_time: 0.001531  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046734;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:05:33.280931' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:05:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1892  Schema:   QC_hit: No
# Query_time: 0.000316  Lock_time: 0.000183  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046735;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1892  Schema:   QC_hit: No
# Query_time: 0.000176  Lock_time: 0.000104  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046735;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:05:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1894  Schema:   QC_hit: No
# Query_time: 0.000340  Lock_time: 0.000185  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046738;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1894  Schema:   QC_hit: No
# Query_time: 0.000323  Lock_time: 0.000215  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046738;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:05:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000544  Lock_time: 0.000213  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046739;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:05:38.27799' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:05:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000565  Lock_time: 0.000232  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046741;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:05:40.278427' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:05:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000522  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046742;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:05:41.280292' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:05:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1898  Schema:   QC_hit: No
# Query_time: 0.000211  Lock_time: 0.000142  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046745;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1898  Schema:   QC_hit: No
# Query_time: 0.000223  Lock_time: 0.000118  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046745;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:05:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000674  Lock_time: 0.000231  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046746;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:05:45.277887' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:05:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1900  Schema:   QC_hit: No
# Query_time: 0.000416  Lock_time: 0.000225  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046748;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1900  Schema:   QC_hit: No
# Query_time: 0.000527  Lock_time: 0.000441  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046748;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000391  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046748;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:05:47.2806' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:05:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000533  Lock_time: 0.000207  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046749;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:05:48.281081' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:05:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000510  Lock_time: 0.000219  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046750;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:05:49.278477' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:05:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001053  Lock_time: 0.000766  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046753;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:05:52.280418' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:05:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1902  Schema:   QC_hit: No
# Query_time: 0.000242  Lock_time: 0.000161  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046755;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1902  Schema:   QC_hit: No
# Query_time: 0.000261  Lock_time: 0.000174  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046755;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:05:56
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000430  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046756;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:05:55.277819' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:05:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000552  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046757;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:05:56.280865' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:05:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1904  Schema:   QC_hit: No
# Query_time: 0.000341  Lock_time: 0.000232  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046758;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1904  Schema:   QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000181  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046758;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000864  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046758;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:06:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000387  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046761;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:06:02
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000431  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046762;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:06:01.28122' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:06:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001394  Lock_time: 0.001121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046763;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:06:02.280328' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:06:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001678  Lock_time: 0.001315  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046764;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:06:03.280737' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:06:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1906  Schema:   QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000153  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046765;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1906  Schema:   QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000193  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046765;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:06:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002963  Lock_time: 0.002308  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046766;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:06:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1908  Schema:   QC_hit: No
# Query_time: 0.000385  Lock_time: 0.000241  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046768;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1908  Schema:   QC_hit: No
# Query_time: 0.000327  Lock_time: 0.000228  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046768;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:06:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001755  Lock_time: 0.001229  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046771;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:06:10.280768' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:06:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001165  Lock_time: 0.000933  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046774;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:06:13.280784' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:06:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001150  Lock_time: 0.000748  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046775;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:06:14.277566' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1910  Schema:   QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000172  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046775;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1910  Schema:   QC_hit: No
# Query_time: 0.000188  Lock_time: 0.000123  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046775;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:06:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000608  Lock_time: 0.000268  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046776;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:06:15.278665' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:06:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000749  Lock_time: 0.000242  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046777;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:06:16.277687' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:06:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1912  Schema:   QC_hit: No
# Query_time: 0.000377  Lock_time: 0.000233  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046778;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1912  Schema:   QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000182  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046778;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:06:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000848  Lock_time: 0.000214  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046780;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:06:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000586  Lock_time: 0.000254  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046781;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:06:20.278376' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:06:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002528  Lock_time: 0.001229  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046784;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:06:23.278608' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:06:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001436  Lock_time: 0.000212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046785;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1914  Schema:   QC_hit: No
# Query_time: 0.000653  Lock_time: 0.000480  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046785;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1914  Schema:   QC_hit: No
# Query_time: 0.000326  Lock_time: 0.000206  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046785;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:06:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001369  Lock_time: 0.000843  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046786;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:06:25.278335' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:06:27
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000768  Lock_time: 0.000289  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046787;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:06:26.280681' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:06:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1916  Schema:   QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000179  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046788;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1916  Schema:   QC_hit: No
# Query_time: 0.000238  Lock_time: 0.000169  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046788;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:06:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000614  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046789;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:06:28.277788' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:06:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000504  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046792;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:06:31.278079' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:06:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000615  Lock_time: 0.000288  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046794;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:06:35
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001196  Lock_time: 0.000897  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046795;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:06:34.278347' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1918  Schema:   QC_hit: No
# Query_time: 0.000316  Lock_time: 0.000167  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046795;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1918  Schema:   QC_hit: No
# Query_time: 0.000206  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046795;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:06:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000863  Lock_time: 0.000407  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046796;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:06:35.278524' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:06:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1920  Schema:   QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000181  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046798;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1920  Schema:   QC_hit: No
# Query_time: 0.000346  Lock_time: 0.000269  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046798;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:06:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000387  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046799;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:06:38.280912' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:06:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000466  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046801;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:06:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001628  Lock_time: 0.001390  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046802;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:06:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000357  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046804;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:06:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001802  Lock_time: 0.001481  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046805;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:06:44.277813' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1922  Schema:   QC_hit: No
# Query_time: 0.000325  Lock_time: 0.000163  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046805;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1922  Schema:   QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046805;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:06:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001760  Lock_time: 0.001395  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046806;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:06:45.278179' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:06:47
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000389  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046807;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:06:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1924  Schema:   QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000189  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046808;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1924  Schema:   QC_hit: No
# Query_time: 0.000197  Lock_time: 0.000121  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046808;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:06:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000693  Lock_time: 0.000380  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046809;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:06:48.278598' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:06:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000837  Lock_time: 0.000329  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046810;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:06:49.280409' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:06:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000644  Lock_time: 0.000264  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046811;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:06:50.277537' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:06:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001509  Lock_time: 0.001222  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046814;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:06:53.27759' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:06:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000364  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046815;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1926  Schema:   QC_hit: No
# Query_time: 0.000326  Lock_time: 0.000227  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046815;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1926  Schema:   QC_hit: No
# Query_time: 0.000261  Lock_time: 0.000174  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046815;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:06:56
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000481  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046816;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:06:55.278387' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:06:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1928  Schema:   QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000245  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046818;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1928  Schema:   QC_hit: No
# Query_time: 0.000334  Lock_time: 0.000225  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046818;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000567  Lock_time: 0.000272  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046818;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:06:57.27824' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:06:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001632  Lock_time: 0.001356  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046819;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:06:58.277506' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:07:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000477  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046820;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:06:59.280611' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:07:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000350  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046823;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:07:02.28164' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:07:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001656  Lock_time: 0.001250  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046824;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:07:03.281112' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:07:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001010  Lock_time: 0.000248  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046825;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1930  Schema:   QC_hit: No
# Query_time: 0.000244  Lock_time: 0.000154  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046825;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1930  Schema:   QC_hit: No
# Query_time: 0.000230  Lock_time: 0.000156  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046825;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:07:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1932  Schema:   QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046828;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1932  Schema:   QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000132  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046828;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:07:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.006137  Lock_time: 0.000185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046829;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:07:08.280835' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:07:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002376  Lock_time: 0.002080  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046830;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:07:09.280792' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:07:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000702  Lock_time: 0.000423  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046831;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:07:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000582  Lock_time: 0.000225  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046832;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:07:11.280888' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:07:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000481  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046833;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:07:12.277528' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:07:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000536  Lock_time: 0.000215  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046835;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:07:14.280622' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1934  Schema:   QC_hit: No
# Query_time: 0.000471  Lock_time: 0.000398  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046835;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1934  Schema:   QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000217  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046835;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:07:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000611  Lock_time: 0.000300  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046836;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:07:15.280741' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:07:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001994  Lock_time: 0.001202  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046837;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:07:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1936  Schema:   QC_hit: No
# Query_time: 0.000396  Lock_time: 0.000248  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046838;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1936  Schema:   QC_hit: No
# Query_time: 0.000322  Lock_time: 0.000238  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046838;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000656  Lock_time: 0.000286  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046838;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:07:17.277693' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:07:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000604  Lock_time: 0.000284  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046839;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:07:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000433  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046840;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:07:19.281692' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:07:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000411  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046841;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:07:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000559  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046843;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:07:22.277698' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:07:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1938  Schema:   QC_hit: No
# Query_time: 0.004536  Lock_time: 0.004448  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046845;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1938  Schema:   QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046845;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:07:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000459  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046846;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:07:25.280776' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:07:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1940  Schema:   QC_hit: No
# Query_time: 0.000354  Lock_time: 0.000176  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046848;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1940  Schema:   QC_hit: No
# Query_time: 0.000248  Lock_time: 0.000156  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046848;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:07:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000668  Lock_time: 0.000411  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046849;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:07:28.28077' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:07:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000084  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046850;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:07:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000390  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046851;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:07:30.280589' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:07:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000546  Lock_time: 0.000228  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046852;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:07:31.280732' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:07:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001421  Lock_time: 0.001132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046853;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:07:32.277416' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:07:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000454  Lock_time: 0.000187  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046854;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:07:33.280669' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:07:35
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000449  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046855;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1942  Schema:   QC_hit: No
# Query_time: 0.000344  Lock_time: 0.000256  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046855;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1942  Schema:   QC_hit: No
# Query_time: 0.000306  Lock_time: 0.000233  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046855;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:07:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000704  Lock_time: 0.000368  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046856;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:07:35.277867' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:07:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000582  Lock_time: 0.000264  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046857;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:07:36.27827' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:07:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1944  Schema:   QC_hit: No
# Query_time: 0.000298  Lock_time: 0.000175  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046858;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1944  Schema:   QC_hit: No
# Query_time: 0.000357  Lock_time: 0.000269  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046858;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000513  Lock_time: 0.000262  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046858;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:07:37.280707' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:07:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000438  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046859;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:07:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000466  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046861;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:07:40.280936' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:07:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000370  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046862;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:07:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001353  Lock_time: 0.001095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046863;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:07:42.27774' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:07:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1946  Schema:   QC_hit: No
# Query_time: 0.000299  Lock_time: 0.000238  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046865;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1946  Schema:   QC_hit: No
# Query_time: 0.000170  Lock_time: 0.000116  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046865;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:07:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1948  Schema:   QC_hit: No
# Query_time: 0.000379  Lock_time: 0.000223  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046868;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1948  Schema:   QC_hit: No
# Query_time: 0.000292  Lock_time: 0.000201  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046868;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000370  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046868;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:07:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002257  Lock_time: 0.001756  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046870;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:07:49.277688' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:07:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000706  Lock_time: 0.000283  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046872;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:07:51.277663' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:07:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000505  Lock_time: 0.000216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046874;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:07:53.280815' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:07:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000624  Lock_time: 0.000230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046875;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:07:54.280806' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1950  Schema:   QC_hit: No
# Query_time: 0.000250  Lock_time: 0.000169  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046875;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1950  Schema:   QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000150  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046875;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:07:56
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000649  Lock_time: 0.000283  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046876;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:07:55.277804' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:07:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000627  Lock_time: 0.000291  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046877;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:07:56.277653' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:07:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1952  Schema:   QC_hit: No
# Query_time: 0.000384  Lock_time: 0.000287  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046878;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1952  Schema:   QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000176  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046878;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000684  Lock_time: 0.000334  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046878;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:07:57.280899' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:07:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000684  Lock_time: 0.000294  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046879;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:07:58.277453' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:08:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000853  Lock_time: 0.000261  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046880;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:08:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633046881;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:08:00.28089' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:08:02
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000961  Lock_time: 0.000428  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046882;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:08:01.277606' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:08:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001552  Lock_time: 0.000664  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046884;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:08:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1954  Schema:   QC_hit: No
# Query_time: 0.000228  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046885;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1954  Schema:   QC_hit: No
# Query_time: 0.000172  Lock_time: 0.000113  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046885;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:08:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002544  Lock_time: 0.001592  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046886;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:08:05.277806' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:08:07
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001086  Lock_time: 0.000692  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046887;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:08:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1956  Schema:   QC_hit: No
# Query_time: 0.000504  Lock_time: 0.000354  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046888;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1956  Schema:   QC_hit: No
# Query_time: 0.000344  Lock_time: 0.000254  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046888;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001117  Lock_time: 0.000786  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046888;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:08:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001471  Lock_time: 0.001216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046890;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:08:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002075  Lock_time: 0.001651  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046891;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:08:10.278128' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:08:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002224  Lock_time: 0.001747  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046892;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:08:11.278273' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:08:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000569  Lock_time: 0.000247  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046894;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:08:13.277787' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:08:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000415  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046895;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:08:14.28109' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1958  Schema:   QC_hit: No
# Query_time: 0.000482  Lock_time: 0.000358  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046895;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1958  Schema:   QC_hit: No
# Query_time: 0.000286  Lock_time: 0.000191  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046895;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:08:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1960  Schema:   QC_hit: No
# Query_time: 0.000328  Lock_time: 0.000175  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046898;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1960  Schema:   QC_hit: No
# Query_time: 0.000354  Lock_time: 0.000272  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046898;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:08:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002262  Lock_time: 0.001833  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046899;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:08:18.278217' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:08:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000698  Lock_time: 0.000256  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046900;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:08:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001150  Lock_time: 0.000274  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046901;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:08:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000783  Lock_time: 0.000236  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046902;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:08:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1962  Schema:   QC_hit: No
# Query_time: 0.000342  Lock_time: 0.000189  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046905;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1962  Schema:   QC_hit: No
# Query_time: 0.000211  Lock_time: 0.000131  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046905;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:08:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000380  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046906;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:08:25.27771' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:08:27
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000478  Lock_time: 0.000214  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046907;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:08:26.28074' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:08:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1964  Schema:   QC_hit: No
# Query_time: 0.000419  Lock_time: 0.000274  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046908;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1964  Schema:   QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000215  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046908;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000531  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046908;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:08:27.2777' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:08:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000385  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046910;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:08:29.277931' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:08:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000409  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046913;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:08:32.277904' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:08:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000907  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046914;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:08:35
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001075  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046915;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1966  Schema:   QC_hit: No
# Query_time: 0.000269  Lock_time: 0.000183  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046915;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1966  Schema:   QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000153  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046915;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:08:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000463  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046917;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:08:36.277831' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:08:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1968  Schema:   QC_hit: No
# Query_time: 0.000281  Lock_time: 0.000188  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046918;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1968  Schema:   QC_hit: No
# Query_time: 0.000191  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046918;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:08:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000838  Lock_time: 0.000411  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046919;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:08:38.280954' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:08:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000682  Lock_time: 0.000288  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046920;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:08:39.277799' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:08:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000561  Lock_time: 0.000279  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046922;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:08:41.277584' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:08:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000498  Lock_time: 0.000218  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046923;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:08:42.280876' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:08:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001440  Lock_time: 0.001093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046925;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:08:44.280797' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1970  Schema:   QC_hit: No
# Query_time: 0.000228  Lock_time: 0.000156  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046925;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1970  Schema:   QC_hit: No
# Query_time: 0.000167  Lock_time: 0.000102  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046925;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:08:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000527  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046926;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:08:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1972  Schema:   QC_hit: No
# Query_time: 0.000450  Lock_time: 0.000289  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046928;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1972  Schema:   QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000202  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046928;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:08:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000422  Lock_time: 0.000155  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046929;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:08:48.28082' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:08:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000650  Lock_time: 0.000274  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046932;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:08:51.277711' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:08:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000684  Lock_time: 0.000227  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046933;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:08:52.280362' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:08:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000568  Lock_time: 0.000235  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046934;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:08:53.2806' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:08:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000672  Lock_time: 0.000239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046935;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:08:54.277607' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1974  Schema:   QC_hit: No
# Query_time: 0.000184  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046935;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1974  Schema:   QC_hit: No
# Query_time: 0.000191  Lock_time: 0.000136  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046935;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:08:56
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000674  Lock_time: 0.000370  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046936;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:08:55.280814' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:08:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000599  Lock_time: 0.000253  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046937;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:08:56.277741' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:08:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1976  Schema:   QC_hit: No
# Query_time: 0.000239  Lock_time: 0.000156  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046938;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1976  Schema:   QC_hit: No
# Query_time: 0.000230  Lock_time: 0.000163  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046938;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:09:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001738  Lock_time: 0.001408  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046940;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:08:59.280701' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:09:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000398  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046943;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:09:02.277421' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:09:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000478  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046944;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:09:03.281275' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:09:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001618  Lock_time: 0.001251  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046945;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:09:04.280445' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1978  Schema:   QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000204  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046945;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1978  Schema:   QC_hit: No
# Query_time: 0.000261  Lock_time: 0.000187  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046945;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:09:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633046946;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:09:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1980  Schema:   QC_hit: No
# Query_time: 0.000317  Lock_time: 0.000209  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046948;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1980  Schema:   QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000168  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046948;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000990  Lock_time: 0.000279  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046948;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:09:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000527  Lock_time: 0.000244  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046949;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:09:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001729  Lock_time: 0.001424  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046950;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:09:09.277844' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:09:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000587  Lock_time: 0.000304  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046952;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:09:11.277784' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:09:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000749  Lock_time: 0.000325  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046955;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:09:14.280899' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1982  Schema:   QC_hit: No
# Query_time: 0.000369  Lock_time: 0.000246  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046955;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1982  Schema:   QC_hit: No
# Query_time: 0.000239  Lock_time: 0.000162  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046955;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:09:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000472  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046956;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:09:15.277622' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:09:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001000  Lock_time: 0.000260  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046957;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:09:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1984  Schema:   QC_hit: No
# Query_time: 0.000414  Lock_time: 0.000273  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046958;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1984  Schema:   QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000179  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046958;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001404  Lock_time: 0.001112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046958;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:09:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000479  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046961;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:09:20.28088' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:09:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000869  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046962;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:09:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1986  Schema:   QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000162  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046965;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1986  Schema:   QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046965;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:09:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000830  Lock_time: 0.000302  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046966;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:09:25.277659' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:09:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1988  Schema:   QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000234  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046968;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1988  Schema:   QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000159  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046968;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001147  Lock_time: 0.000932  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046968;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:09:27.280072' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:09:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633046969;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:09:28.277776' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:09:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000461  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046970;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:09:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000457  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046973;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:09:32.27925' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:09:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000996  Lock_time: 0.000235  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046974;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:09:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1990  Schema:   QC_hit: No
# Query_time: 0.000324  Lock_time: 0.000228  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046975;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1990  Schema:   QC_hit: No
# Query_time: 0.000194  Lock_time: 0.000128  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046975;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:09:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000483  Lock_time: 0.000202  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046976;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:09:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000497  Lock_time: 0.000207  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046977;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:09:36.279111' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:09:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1992  Schema:   QC_hit: No
# Query_time: 0.000217  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046978;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1992  Schema:   QC_hit: No
# Query_time: 0.000170  Lock_time: 0.000106  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046978;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:09:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000636  Lock_time: 0.000307  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046979;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:09:38.277781' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:09:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001195  Lock_time: 0.000799  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046981;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:09:40.277761' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:09:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000957  Lock_time: 0.000238  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046983;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:09:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1994  Schema:   QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000209  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046985;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1994  Schema:   QC_hit: No
# Query_time: 0.000188  Lock_time: 0.000120  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046985;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:09:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1996  Schema:   QC_hit: No
# Query_time: 0.000469  Lock_time: 0.000257  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046988;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1996  Schema:   QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000248  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046988;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001583  Lock_time: 0.001309  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046988;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:09:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000757  Lock_time: 0.000302  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046989;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:09:48.277621' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:09:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000416  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046992;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:09:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001193  Lock_time: 0.000965  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046993;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:09:52.278031' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:09:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001986  Lock_time: 0.001535  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046994;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:09:53.277868' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:09:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000473  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046995;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:09:54.280894' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1998  Schema:   QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000213  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046995;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1998  Schema:   QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046995;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:09:56
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000440  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046996;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:09:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000628  Lock_time: 0.000269  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046997;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:09:56.277868' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:09:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2000  Schema:   QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000187  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633046998;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2000  Schema:   QC_hit: No
# Query_time: 0.000184  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633046998;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001031  Lock_time: 0.000272  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046998;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:09:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000464  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633046999;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:10:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002093  Lock_time: 0.001395  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047000;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:10:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000555  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047001;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:10:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000340  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047003;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:10:02.277605' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:10:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000551  Lock_time: 0.000190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047005;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:10:04.280398' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2002  Schema:   QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047005;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2002  Schema:   QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000176  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047005;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:10:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000910  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047006;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:10:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2004  Schema:   QC_hit: No
# Query_time: 0.000360  Lock_time: 0.000237  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047008;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2004  Schema:   QC_hit: No
# Query_time: 0.000316  Lock_time: 0.000237  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047008;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:10:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001383  Lock_time: 0.001038  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047010;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:10:09.279573' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:10:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000487  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047011;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:10:10.278136' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:10:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000685  Lock_time: 0.000341  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047012;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:10:11.278353' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:10:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001308  Lock_time: 0.000917  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047013;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:10:12.278304' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:10:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000958  Lock_time: 0.000650  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047014;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:10:13.280517' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:10:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000528  Lock_time: 0.000167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047015;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:10:14.278018' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2011  Schema:   QC_hit: No
# Query_time: 0.000307  Lock_time: 0.000231  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047015;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2011  Schema:   QC_hit: No
# Query_time: 0.000307  Lock_time: 0.000224  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047015;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:10:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000363  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047017;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:10:16.28107' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:10:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2013  Schema:   QC_hit: No
# Query_time: 0.000506  Lock_time: 0.000267  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047018;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2013  Schema:   QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000207  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047018;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000349  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047018;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:10:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000637  Lock_time: 0.000263  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047019;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:10:18.277641' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:10:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000645  Lock_time: 0.000190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047020;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:10:19.280818' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:10:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000429  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047021;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:10:20.277541' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:10:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000344  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047022;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:10:21.280636' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:10:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000326  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047023;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:10:22.280709' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:10:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000517  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047024;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:10:23.278021' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:10:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000439  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047025;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:10:24.278222' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2015  Schema:   QC_hit: No
# Query_time: 0.000312  Lock_time: 0.000222  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047025;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2015  Schema:   QC_hit: No
# Query_time: 0.000244  Lock_time: 0.000162  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047025;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:10:27
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000491  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047027;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:10:26.281206' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:10:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2017  Schema:   QC_hit: No
# Query_time: 0.000467  Lock_time: 0.000311  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047028;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2017  Schema:   QC_hit: No
# Query_time: 0.000357  Lock_time: 0.000264  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047028;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000528  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047028;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:10:27.277965' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:10:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633047029;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:10:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000365  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047030;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:10:29.278258' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:10:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000383  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047031;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:10:30.280654' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:10:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001403  Lock_time: 0.001178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047032;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:10:31.280348' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:10:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2019  Schema:   QC_hit: No
# Query_time: 0.000322  Lock_time: 0.000192  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047035;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2019  Schema:   QC_hit: No
# Query_time: 0.000250  Lock_time: 0.000185  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047035;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:10:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000476  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047036;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:10:35.280708' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:10:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000422  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047037;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:10:36.27782' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:10:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2021  Schema:   QC_hit: No
# Query_time: 0.000298  Lock_time: 0.000158  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047038;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2021  Schema:   QC_hit: No
# Query_time: 0.000207  Lock_time: 0.000131  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047038;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000558  Lock_time: 0.000250  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047038;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:10:37.277692' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:10:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000496  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047043;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:10:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2023  Schema:   QC_hit: No
# Query_time: 0.000449  Lock_time: 0.000290  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047045;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2023  Schema:   QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000250  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047045;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:10:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001477  Lock_time: 0.001205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047046;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:10:45.28045' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:10:47
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000559  Lock_time: 0.000263  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047047;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:10:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2025  Schema:   QC_hit: No
# Query_time: 0.000305  Lock_time: 0.000210  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047048;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2025  Schema:   QC_hit: No
# Query_time: 0.000278  Lock_time: 0.000188  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047048;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:10:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002184  Lock_time: 0.001659  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047051;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:10:50.277844' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:10:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000828  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047052;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:10:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001600  Lock_time: 0.001073  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047053;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:10:52.277545' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:10:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000658  Lock_time: 0.000302  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047054;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:10:53.280737' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:10:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2027  Schema:   QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000173  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047055;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2027  Schema:   QC_hit: No
# Query_time: 0.000256  Lock_time: 0.000189  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047055;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:10:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000673  Lock_time: 0.000309  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047057;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:10:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2029  Schema:   QC_hit: No
# Query_time: 0.000383  Lock_time: 0.000191  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047058;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2029  Schema:   QC_hit: No
# Query_time: 0.000425  Lock_time: 0.000289  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047058;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000662  Lock_time: 0.000227  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047058;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:10:57.277962' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:11:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000667  Lock_time: 0.000313  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047060;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:10:59.277608' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:11:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000628  Lock_time: 0.000279  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047061;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:11:00.277929' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:11:02
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001187  Lock_time: 0.000367  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047062;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:11:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001419  Lock_time: 0.001032  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047063;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:11:02.277672' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:11:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001052  Lock_time: 0.000754  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047064;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:11:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2031  Schema:   QC_hit: No
# Query_time: 0.000403  Lock_time: 0.000291  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047065;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2031  Schema:   QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000256  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047065;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:11:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000980  Lock_time: 0.000293  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047066;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000253  Lock_time: 0.000091  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047066;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:11:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2033  Schema:   QC_hit: No
# Query_time: 0.000510  Lock_time: 0.000335  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047068;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2033  Schema:   QC_hit: No
# Query_time: 0.000250  Lock_time: 0.000169  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047068;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001551  Lock_time: 0.001190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047068;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:11:07.277761' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:11:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001637  Lock_time: 0.000401  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047069;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:11:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000762  Lock_time: 0.000319  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047070;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:11:09.280874' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:11:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000779  Lock_time: 0.000409  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047071;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:11:10.277498' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:11:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001054  Lock_time: 0.000246  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047072;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:11:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2035  Schema:   QC_hit: No
# Query_time: 0.000332  Lock_time: 0.000220  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047075;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2035  Schema:   QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047075;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:11:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001529  Lock_time: 0.001244  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047077;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:11:16.27808' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:11:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2037  Schema:   QC_hit: No
# Query_time: 0.000305  Lock_time: 0.000195  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047078;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2037  Schema:   QC_hit: No
# Query_time: 0.000261  Lock_time: 0.000181  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047078;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000460  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047078;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:11:17.277311' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:11:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000534  Lock_time: 0.000257  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047079;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:11:18.277835' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:11:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000338  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047082;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:11:21.277759' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:11:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000864  Lock_time: 0.000449  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047085;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:11:24.277986' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2039  Schema:   QC_hit: No
# Query_time: 0.000364  Lock_time: 0.000253  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047085;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2039  Schema:   QC_hit: No
# Query_time: 0.000185  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047085;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:11:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000766  Lock_time: 0.000257  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047086;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:11:25.277764' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:11:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2041  Schema:   QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047088;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2041  Schema:   QC_hit: No
# Query_time: 0.000185  Lock_time: 0.000118  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047088;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002405  Lock_time: 0.001813  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047088;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:11:27.277865' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:11:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001243  Lock_time: 0.001004  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047089;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:11:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001815  Lock_time: 0.001430  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047091;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:11:30.280512' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:11:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000511  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047092;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:11:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001744  Lock_time: 0.001387  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047094;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:11:35
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002104  Lock_time: 0.001712  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047095;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:11:34.280636' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2043  Schema:   QC_hit: No
# Query_time: 0.000320  Lock_time: 0.000204  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047095;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2043  Schema:   QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000172  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047095;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:11:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001675  Lock_time: 0.001191  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047096;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:11:35.280879' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:11:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001397  Lock_time: 0.000672  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047097;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:11:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2045  Schema:   QC_hit: No
# Query_time: 0.000375  Lock_time: 0.000239  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047098;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2045  Schema:   QC_hit: No
# Query_time: 0.000224  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047098;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000554  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047098;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:11:37.277863' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:11:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000694  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047101;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:11:40.277753' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:11:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000482  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047102;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:11:41.280813' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:11:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000374  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047105;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:11:44.280542' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2047  Schema:   QC_hit: No
# Query_time: 0.000298  Lock_time: 0.000215  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047105;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2047  Schema:   QC_hit: No
# Query_time: 0.000343  Lock_time: 0.000155  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047105;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:11:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000486  Lock_time: 0.000217  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047106;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:11:45.28062' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:11:47
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000550  Lock_time: 0.000232  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047107;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:11:46.28096' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:11:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2049  Schema:   QC_hit: No
# Query_time: 0.000274  Lock_time: 0.000149  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047108;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2049  Schema:   QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047108;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000740  Lock_time: 0.000235  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047108;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:11:47.277781' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:11:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001140  Lock_time: 0.000453  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047109;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:11:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000432  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047110;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:11:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000379  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047111;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:11:50.285363' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:11:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001002  Lock_time: 0.000251  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047112;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000361  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047112;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:11:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000625  Lock_time: 0.000341  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047113;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:11:52.277802' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:11:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000502  Lock_time: 0.000217  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047115;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:11:54.281039' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2051  Schema:   QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047115;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2051  Schema:   QC_hit: No
# Query_time: 0.000211  Lock_time: 0.000130  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047115;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:11:56
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000484  Lock_time: 0.000214  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047116;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:11:55.277474' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:11:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2053  Schema:   QC_hit: No
# Query_time: 0.000248  Lock_time: 0.000158  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047118;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2053  Schema:   QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000139  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047118;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000887  Lock_time: 0.000454  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047118;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:11:57.278028' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:11:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000876  Lock_time: 0.000484  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047119;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:11:58.278306' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:12:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001646  Lock_time: 0.001356  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047120;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:12:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001710  Lock_time: 0.001342  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047124;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:12:03.280696' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:12:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001693  Lock_time: 0.001290  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047125;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:12:04.280957' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2055  Schema:   QC_hit: No
# Query_time: 0.000256  Lock_time: 0.000136  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047125;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2055  Schema:   QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000142  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047125;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:12:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000375  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047126;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:12:05.277749' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:12:07
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000475  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047127;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:12:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2057  Schema:   QC_hit: No
# Query_time: 0.000435  Lock_time: 0.000253  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047128;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2057  Schema:   QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000182  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047128;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000487  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047128;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:12:07.28093' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:12:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000500  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047129;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:12:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000484  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047130;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:12:09.27808' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:12:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000511  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047131;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:12:10.278237' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:12:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000485  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047133;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:12:12.281284' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:12:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000442  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047134;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:12:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2059  Schema:   QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000182  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047135;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2059  Schema:   QC_hit: No
# Query_time: 0.000191  Lock_time: 0.000109  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047135;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:12:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000522  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047136;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:12:15.277626' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:12:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2061  Schema:   QC_hit: No
# Query_time: 0.000236  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047138;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2061  Schema:   QC_hit: No
# Query_time: 0.000256  Lock_time: 0.000187  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047138;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:12:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000621  Lock_time: 0.000301  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047139;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:12:18.278192' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:12:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000488  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047140;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:12:19.28502' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:12:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000864  Lock_time: 0.000413  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047144;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:12:23.280652' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:12:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000785  Lock_time: 0.000450  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047145;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:12:24.280429' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2063  Schema:   QC_hit: No
# Query_time: 0.000186  Lock_time: 0.000108  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047145;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2063  Schema:   QC_hit: No
# Query_time: 0.000141  Lock_time: 0.000093  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047145;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:12:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000576  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047146;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:12:25.278477' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:12:27
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001157  Lock_time: 0.000661  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047147;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:12:26.281101' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:12:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2065  Schema:   QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000155  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047148;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2065  Schema:   QC_hit: No
# Query_time: 0.000197  Lock_time: 0.000124  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047148;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:12:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000403  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047149;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:12:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047150;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:12:29.280738' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:12:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000660  Lock_time: 0.000314  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047154;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:12:33.280629' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:12:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2067  Schema:   QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000209  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047155;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2067  Schema:   QC_hit: No
# Query_time: 0.000217  Lock_time: 0.000151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047155;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:12:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001270  Lock_time: 0.000423  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047156;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:12:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2069  Schema:   QC_hit: No
# Query_time: 0.000626  Lock_time: 0.000420  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047158;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2069  Schema:   QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000210  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047158;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000414  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047158;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:12:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000461  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047159;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:12:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001221  Lock_time: 0.000193  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047160;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:12:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002033  Lock_time: 0.001704  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047162;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:12:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000687  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047163;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:12:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2071  Schema:   QC_hit: No
# Query_time: 0.000394  Lock_time: 0.000259  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047165;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2071  Schema:   QC_hit: No
# Query_time: 0.000346  Lock_time: 0.000248  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047165;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:12:47
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001117  Lock_time: 0.000259  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047167;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:12:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2073  Schema:   QC_hit: No
# Query_time: 0.000360  Lock_time: 0.000271  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047168;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2073  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=1633047168;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633047168;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:12:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001817  Lock_time: 0.001511  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047169;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:12:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000666  Lock_time: 0.000300  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047170;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:12:49.280774' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:12:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000844  Lock_time: 0.000649  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047172;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:12:51.279917' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:12:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000411  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047174;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:12:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000616  Lock_time: 0.000293  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047175;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:12:54.280821' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2075  Schema:   QC_hit: No
# Query_time: 0.000329  Lock_time: 0.000187  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047175;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2075  Schema:   QC_hit: No
# Query_time: 0.000335  Lock_time: 0.000272  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047175;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:12:56
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000435  Lock_time: 0.000185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047176;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:12:55.277517' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:12:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2077  Schema:   QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000180  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047178;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2077  Schema:   QC_hit: No
# Query_time: 0.000190  Lock_time: 0.000119  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047178;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000518  Lock_time: 0.000202  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047178;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:12:57.277657' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:12:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000624  Lock_time: 0.000321  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047179;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:13:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001418  Lock_time: 0.001146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047180;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:12:59.277733' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:13:02
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000467  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047182;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:13:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001863  Lock_time: 0.001537  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047185;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:13:04.28063' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2079  Schema:   QC_hit: No
# Query_time: 0.000383  Lock_time: 0.000229  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047185;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2079  Schema:   QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000212  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047185;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:13:07
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001142  Lock_time: 0.000575  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047187;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:13:06.281056' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:13:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2081  Schema:   QC_hit: No
# Query_time: 0.000393  Lock_time: 0.000251  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047188;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2081  Schema:   QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047188;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001128  Lock_time: 0.000416  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047188;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:13:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000712  Lock_time: 0.000297  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047189;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:13:08.281045' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:13:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000512  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047190;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:13:09.277768' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:13:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000483  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047191;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:13:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000515  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047192;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:13:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2083  Schema:   QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047195;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2083  Schema:   QC_hit: No
# Query_time: 0.000169  Lock_time: 0.000115  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047195;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:13:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000721  Lock_time: 0.000259  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047197;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:13:16.277797' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:13:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2085  Schema:   QC_hit: No
# Query_time: 0.000367  Lock_time: 0.000268  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047198;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2085  Schema:   QC_hit: No
# Query_time: 0.000294  Lock_time: 0.000178  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047198;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000397  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047198;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:13:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000569  Lock_time: 0.000208  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047200;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:13:19.281078' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:13:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000542  Lock_time: 0.000301  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047201;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:13:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001407  Lock_time: 0.001045  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047203;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:13:22.27769' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:13:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2087  Schema:   QC_hit: No
# Query_time: 0.000361  Lock_time: 0.000193  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047205;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2087  Schema:   QC_hit: No
# Query_time: 0.000211  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047205;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:13:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2089  Schema:   QC_hit: No
# Query_time: 0.000487  Lock_time: 0.000324  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047208;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2089  Schema:   QC_hit: No
# Query_time: 0.000398  Lock_time: 0.000279  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047208;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001618  Lock_time: 0.001333  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047208;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:13:27.278034' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:13:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633047210;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:13:29.277705' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:13:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000783  Lock_time: 0.000396  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047212;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:13:31.277698' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:13:35
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001086  Lock_time: 0.000727  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047215;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:13:34.277802' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2091  Schema:   QC_hit: No
# Query_time: 0.000302  Lock_time: 0.000202  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047215;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2091  Schema:   QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000169  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047215;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:13:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001996  Lock_time: 0.001723  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047217;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:13:36.278071' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:13:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2093  Schema:   QC_hit: No
# Query_time: 0.000444  Lock_time: 0.000304  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047218;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2093  Schema:   QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000202  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047218;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000353  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047218;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:13:37.277702' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:13:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000358  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047219;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:13:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000475  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047221;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:13:40.278048' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:13:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001954  Lock_time: 0.001589  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047224;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:13:43.280538' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:13:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000377  Lock_time: 0.000083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047225;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2095  Schema:   QC_hit: No
# Query_time: 0.000170  Lock_time: 0.000119  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047225;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2095  Schema:   QC_hit: No
# Query_time: 0.000129  Lock_time: 0.000081  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047225;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:13:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000932  Lock_time: 0.000468  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047226;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:13:45.277714' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:13:47
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000764  Lock_time: 0.000262  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047227;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:13:46.280688' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:13:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2097  Schema:   QC_hit: No
# Query_time: 0.000312  Lock_time: 0.000236  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047228;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2097  Schema:   QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000206  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047228;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001300  Lock_time: 0.001051  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047228;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:13:47.28051' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:13:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002242  Lock_time: 0.001625  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047229;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:13:48.280975' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:13:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000782  Lock_time: 0.000454  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047230;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:13:49.277538' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:13:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000609  Lock_time: 0.000236  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047233;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:13:52.28077' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:13:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000774  Lock_time: 0.000440  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047234;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:13:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001156  Lock_time: 0.000431  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047235;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:13:54.277961' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2099  Schema:   QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047235;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2099  Schema:   QC_hit: No
# Query_time: 0.000360  Lock_time: 0.000257  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047235;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:13:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001781  Lock_time: 0.001462  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047237;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:13:56.278093' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:13:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2101  Schema:   QC_hit: No
# Query_time: 0.000323  Lock_time: 0.000179  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047238;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2101  Schema:   QC_hit: No
# Query_time: 0.000187  Lock_time: 0.000113  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047238;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:14:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001118  Lock_time: 0.000864  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047241;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:14:02
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001327  Lock_time: 0.001090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047242;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:14:01.280641' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:14:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000765  Lock_time: 0.000551  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047243;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:14:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2103  Schema:   QC_hit: No
# Query_time: 0.000316  Lock_time: 0.000188  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047245;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2103  Schema:   QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000187  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047245;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:14:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2105  Schema:   QC_hit: No
# Query_time: 0.000320  Lock_time: 0.000243  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047248;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2105  Schema:   QC_hit: No
# Query_time: 0.000298  Lock_time: 0.000222  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047248;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001828  Lock_time: 0.001575  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047248;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:14:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001703  Lock_time: 0.001354  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047249;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:14:08.27806' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:14:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000415  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047250;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:14:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000782  Lock_time: 0.000398  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047251;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:14:10.280839' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:14:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000594  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047252;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:14:11.277868' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:14:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000475  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047253;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:14:12.280432' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:14:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000502  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047254;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:14:13.280756' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:14:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000999  Lock_time: 0.000218  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047255;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:14:14.278039' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2107  Schema:   QC_hit: No
# Query_time: 0.000517  Lock_time: 0.000372  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047255;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2107  Schema:   QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000177  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047255;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:14:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000561  Lock_time: 0.000182  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047256;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:14:15.277516' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:14:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2109  Schema:   QC_hit: No
# Query_time: 0.000390  Lock_time: 0.000300  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047258;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2109  Schema:   QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000154  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047258;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:14:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000777  Lock_time: 0.000261  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047259;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:14:18.277597' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:14:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000456  Lock_time: 0.000226  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047261;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:14:20.277536' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:14:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000474  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047264;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:14:23.280858' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:14:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000599  Lock_time: 0.000268  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047265;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:14:24.277983' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2111  Schema:   QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000200  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047265;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2111  Schema:   QC_hit: No
# Query_time: 0.000198  Lock_time: 0.000118  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047265;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:14:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2113  Schema:   QC_hit: No
# Query_time: 0.000402  Lock_time: 0.000309  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047268;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2113  Schema:   QC_hit: No
# Query_time: 0.000281  Lock_time: 0.000211  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047268;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:14:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000531  Lock_time: 0.000236  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047269;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:14:28.28153' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:14:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000526  Lock_time: 0.000243  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047270;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:14:29.277549' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:14:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001218  Lock_time: 0.000402  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047271;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:14:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000915  Lock_time: 0.000358  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047272;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:14:31.280696' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:14:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001302  Lock_time: 0.001054  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047273;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:14:32.280343' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:14:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000370  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047274;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:14:33.280153' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:14:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2115  Schema:   QC_hit: No
# Query_time: 0.000371  Lock_time: 0.000227  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047275;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2115  Schema:   QC_hit: No
# Query_time: 0.000192  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047275;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:14:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000876  Lock_time: 0.000257  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047276;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:14:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001456  Lock_time: 0.001186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047277;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:14:36.278158' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:14:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2117  Schema:   QC_hit: No
# Query_time: 0.000364  Lock_time: 0.000219  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047278;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2117  Schema:   QC_hit: No
# Query_time: 0.000206  Lock_time: 0.000131  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047278;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000350  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047278;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:14:37.27789' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:14:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000625  Lock_time: 0.000296  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047279;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:14:38.277931' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:14:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000500  Lock_time: 0.000195  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047282;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:14:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000313  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047283;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:14:42.28072' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:14:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000409  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047284;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:14:43.280444' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:14:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.007169  Lock_time: 0.006946  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047285;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2123  Schema:   QC_hit: No
# Query_time: 0.000242  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047285;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2123  Schema:   QC_hit: No
# Query_time: 0.000170  Lock_time: 0.000112  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047285;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:14:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001423  Lock_time: 0.001102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047286;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:14:45.280601' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:14:47
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001537  Lock_time: 0.001222  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047287;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:14:46.280686' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:14:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2125  Schema:   QC_hit: No
# Query_time: 0.000384  Lock_time: 0.000201  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047288;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2125  Schema:   QC_hit: No
# Query_time: 0.000575  Lock_time: 0.000486  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047288;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:14:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000730  Lock_time: 0.000335  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047289;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:14:48.278029' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:14:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633047290;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:14:49.280685' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:14:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000707  Lock_time: 0.000344  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047291;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:14:50.278155' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:14:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000408  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047292;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:14:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633047293;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:14:52.280718' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:14:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2127  Schema:   QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000159  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047295;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2127  Schema:   QC_hit: No
# Query_time: 0.000209  Lock_time: 0.000136  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047295;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:14:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000519  Lock_time: 0.000206  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047297;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:14:56.277958' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:14:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2129  Schema:   QC_hit: No
# Query_time: 0.000359  Lock_time: 0.000196  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047298;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2129  Schema:   QC_hit: No
# Query_time: 0.000402  Lock_time: 0.000257  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047298;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001044  Lock_time: 0.000234  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047298;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:15:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000532  Lock_time: 0.000248  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047300;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:14:59.280882' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:15:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000498  Lock_time: 0.000272  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047301;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:15:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2131  Schema:   QC_hit: No
# Query_time: 0.000265  Lock_time: 0.000202  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047305;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2131  Schema:   QC_hit: No
# Query_time: 0.000172  Lock_time: 0.000118  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047305;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:15:07
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000401  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047307;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:15:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2133  Schema:   QC_hit: No
# Query_time: 0.000473  Lock_time: 0.000338  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047308;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2133  Schema:   QC_hit: No
# Query_time: 0.000410  Lock_time: 0.000309  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047308;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:15:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000641  Lock_time: 0.000318  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047309;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:15:08.280828' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:15:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000801  Lock_time: 0.000366  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047312;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:15:11.280934' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:15:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000498  Lock_time: 0.000219  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047313;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:15:12.277506' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:15:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000453  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047314;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:15:13.28126' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:15:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2135  Schema:   QC_hit: No
# Query_time: 0.000239  Lock_time: 0.000124  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047315;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2135  Schema:   QC_hit: No
# Query_time: 0.000202  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047315;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:15:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2137  Schema:   QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000201  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047318;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2137  Schema:   QC_hit: No
# Query_time: 0.000284  Lock_time: 0.000177  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047318;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001802  Lock_time: 0.001439  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047318;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:15:17.277727' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:15:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000612  Lock_time: 0.000231  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047319;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:15:18.277826' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:15:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000499  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047321;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:15:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633047323;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:15:22.280401' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:15:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000679  Lock_time: 0.000358  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047324;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:15:23.281712' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:15:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000576  Lock_time: 0.000225  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047325;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:15:24.277857' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2139  Schema:   QC_hit: No
# Query_time: 0.000470  Lock_time: 0.000219  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047325;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2139  Schema:   QC_hit: No
# Query_time: 0.000363  Lock_time: 0.000274  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047325;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:15:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000507  Lock_time: 0.000236  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047326;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:15:25.280778' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:15:27
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000902  Lock_time: 0.000597  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047327;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:15:26.280777' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:15:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2141  Schema:   QC_hit: No
# Query_time: 0.000356  Lock_time: 0.000263  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047328;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2141  Schema:   QC_hit: No
# Query_time: 0.000338  Lock_time: 0.000264  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047328;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000576  Lock_time: 0.000294  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047328;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:15:27.277852' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:15:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000965  Lock_time: 0.000373  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047329;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:15:28.280837' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:15:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000392  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047330;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:15:29.277704' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:15:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000432  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047332;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:15:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2143  Schema:   QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000180  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047335;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2143  Schema:   QC_hit: No
# Query_time: 0.000179  Lock_time: 0.000106  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047335;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:15:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000408  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047336;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:15:35.42254' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:15:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000647  Lock_time: 0.000257  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047337;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:15:36.280703' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:15:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2145  Schema:   QC_hit: No
# Query_time: 0.000475  Lock_time: 0.000309  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047338;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2145  Schema:   QC_hit: No
# Query_time: 0.000349  Lock_time: 0.000256  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047338;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001537  Lock_time: 0.000880  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047338;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:15:37.277727' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:15:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000643  Lock_time: 0.000332  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047339;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:15:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000804  Lock_time: 0.000481  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047340;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:15:39.278218' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:15:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002079  Lock_time: 0.001597  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047342;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:15:41.277919' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:15:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000637  Lock_time: 0.000256  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047343;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:15:42.277631' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:15:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000471  Lock_time: 0.000181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047344;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:15:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000894  Lock_time: 0.000347  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047345;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2149  Schema:   QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000192  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047345;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2149  Schema:   QC_hit: No
# Query_time: 0.000215  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047345;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:15:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2151  Schema:   QC_hit: No
# Query_time: 0.000344  Lock_time: 0.000255  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047348;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2151  Schema:   QC_hit: No
# Query_time: 0.000342  Lock_time: 0.000265  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047348;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000586  Lock_time: 0.000241  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047348;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:15:47.280918' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:15:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001257  Lock_time: 0.000327  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047349;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:15:48.277721' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:15:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000587  Lock_time: 0.000252  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047350;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:15:49.283312' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:15:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000379  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047352;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:15:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000727  Lock_time: 0.000302  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047354;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:15:53.281923' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:15:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001323  Lock_time: 0.000401  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047355;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2157  Schema:   QC_hit: No
# Query_time: 0.000402  Lock_time: 0.000267  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047355;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2157  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=1633047355;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:15:56
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000528  Lock_time: 0.000197  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047356;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:15:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2159  Schema:   QC_hit: No
# Query_time: 0.000343  Lock_time: 0.000231  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047358;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2159  Schema:   QC_hit: No
# Query_time: 0.000214  Lock_time: 0.000142  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047358;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:15:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001666  Lock_time: 0.001228  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047359;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:15:58.277739' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:16:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001522  Lock_time: 0.001212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047360;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:15:59.277554' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:16:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000408  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047361;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:16:00.28103' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:16:02
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000467  Lock_time: 0.000185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047362;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:16:01.278225' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:16:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000585  Lock_time: 0.000301  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047363;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:16:02.277516' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:16:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001531  Lock_time: 0.001252  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047365;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:16:04.2779' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2165  Schema:   QC_hit: No
# Query_time: 0.000340  Lock_time: 0.000171  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047365;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2165  Schema:   QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000181  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047365;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:16:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2171  Schema:   QC_hit: No
# Query_time: 0.000442  Lock_time: 0.000304  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047368;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2171  Schema:   QC_hit: No
# Query_time: 0.000348  Lock_time: 0.000254  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047368;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:16:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000561  Lock_time: 0.000262  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047369;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:16:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000658  Lock_time: 0.000306  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047374;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:16:13.277851' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:16:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000646  Lock_time: 0.000213  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047375;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:16:14.278366' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2177  Schema:   QC_hit: No
# Query_time: 0.001460  Lock_time: 0.001365  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047375;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2177  Schema:   QC_hit: No
# Query_time: 0.000342  Lock_time: 0.000273  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047375;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:16:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2180  Schema:   QC_hit: No
# Query_time: 0.000304  Lock_time: 0.000176  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047378;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2180  Schema:   QC_hit: No
# Query_time: 0.000233  Lock_time: 0.000151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047378;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001306  Lock_time: 0.000992  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047378;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:16:17.277718' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:16:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001044  Lock_time: 0.000280  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047381;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:16:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000466  Lock_time: 0.000235  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047382;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:16:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001147  Lock_time: 0.000923  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047384;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:16:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2182  Schema:   QC_hit: No
# Query_time: 0.001409  Lock_time: 0.001305  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047385;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2182  Schema:   QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000210  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047385;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:16:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2184  Schema:   QC_hit: No
# Query_time: 0.001091  Lock_time: 0.000994  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047388;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2184  Schema:   QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047388;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000524  Lock_time: 0.000261  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047388;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:16:27.28327' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:16:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000705  Lock_time: 0.000295  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047389;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:16:28.278228' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:16:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000404  Lock_time: 0.000174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047390;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:16:29.277827' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:16:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000375  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047391;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:16:30.280446' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:16:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2188  Schema:   QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000124  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047395;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2188  Schema:   QC_hit: No
# Query_time: 0.000157  Lock_time: 0.000094  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047395;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:16:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2191  Schema:   QC_hit: No
# Query_time: 0.000310  Lock_time: 0.000226  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047398;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2191  Schema:   QC_hit: No
# Query_time: 0.000349  Lock_time: 0.000259  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047398;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:16:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000625  Lock_time: 0.000278  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047399;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:16:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000476  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047400;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:16:39.27797' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:16:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001265  Lock_time: 0.000867  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047401;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:16:40.277767' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:16:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000578  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047403;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:16:42.277591' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:16:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000570  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047405;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2197  Schema:   QC_hit: No
# Query_time: 0.000231  Lock_time: 0.000151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047405;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2197  Schema:   QC_hit: No
# Query_time: 0.000176  Lock_time: 0.000117  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047405;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:16:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2199  Schema:   QC_hit: No
# Query_time: 0.000371  Lock_time: 0.000269  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047408;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2199  Schema:   QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000230  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047408;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:16:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000703  Lock_time: 0.000321  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047410;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:16:49.277791' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:16:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000323  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047412;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:16:51.280661' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:16:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001420  Lock_time: 0.001108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047413;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:16:52.280336' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:16:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001742  Lock_time: 0.001421  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047414;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:16:53.280772' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:16:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001583  Lock_time: 0.001280  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047415;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:16:54.280908' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2203  Schema:   QC_hit: No
# Query_time: 0.000185  Lock_time: 0.000118  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047415;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2203  Schema:   QC_hit: No
# Query_time: 0.000146  Lock_time: 0.000086  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047415;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:16:56
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000803  Lock_time: 0.000511  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047416;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:16:55.277929' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:16:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000725  Lock_time: 0.000370  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047417;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:16:56.277756' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:16:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2205  Schema:   QC_hit: No
# Query_time: 0.000371  Lock_time: 0.000192  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047418;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2205  Schema:   QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047418;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000631  Lock_time: 0.000274  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047418;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:16:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000695  Lock_time: 0.000342  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047419;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:16:58.278129' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:17:02
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000489  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047422;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:17:01.280711' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:17:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000553  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047423;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:17:02.277617' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:17:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000413  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047424;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:17:03.27797' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:17:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001841  Lock_time: 0.001476  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047425;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:17:04.277768' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2207  Schema:   QC_hit: No
# Query_time: 0.000414  Lock_time: 0.000279  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047425;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2207  Schema:   QC_hit: No
# Query_time: 0.000201  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047425;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:17:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001220  Lock_time: 0.000874  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047426;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:17:05.277634' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:17:07
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001305  Lock_time: 0.000523  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047427;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:17:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2209  Schema:   QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000179  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047428;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2209  Schema:   QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000142  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047428;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001211  Lock_time: 0.000517  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047428;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:17:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000562  Lock_time: 0.000242  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047430;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:17:09.281106' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:17:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000726  Lock_time: 0.000320  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047431;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:17:10.277754' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:17:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000537  Lock_time: 0.000229  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047433;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:17:12.280683' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:17:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000728  Lock_time: 0.000286  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047435;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:17:14.278025' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2212  Schema:   QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047435;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2212  Schema:   QC_hit: No
# Query_time: 0.000309  Lock_time: 0.000237  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047435;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:17:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000486  Lock_time: 0.000182  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047436;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:17:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2214  Schema:   QC_hit: No
# Query_time: 0.000369  Lock_time: 0.000269  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047438;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2214  Schema:   QC_hit: No
# Query_time: 0.000378  Lock_time: 0.000294  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047438;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000859  Lock_time: 0.000508  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047438;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:17:17.277558' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:17:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000691  Lock_time: 0.000231  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047442;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:17:21.281115' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:17:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001510  Lock_time: 0.001114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047443;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:17:22.280584' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:17:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633047444;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:17:23.280325' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:17:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2216  Schema:   QC_hit: No
# Query_time: 0.000383  Lock_time: 0.000275  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047445;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2216  Schema:   QC_hit: No
# Query_time: 0.000286  Lock_time: 0.000179  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047445;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:17:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000547  Lock_time: 0.000216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047446;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:17:25.280597' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:17:27
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000619  Lock_time: 0.000241  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047447;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:17:26.280699' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:17:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2218  Schema:   QC_hit: No
# Query_time: 0.000401  Lock_time: 0.000174  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047448;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2218  Schema:   QC_hit: No
# Query_time: 0.000211  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047448;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000538  Lock_time: 0.000260  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047448;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:17:27.280706' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:17:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001583  Lock_time: 0.001323  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047451;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:17:30.279297' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:17:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001537  Lock_time: 0.001237  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047452;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:17:31.280286' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:17:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000553  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047453;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:17:32.277654' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:17:35
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000455  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047455;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:17:34.280891' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2220  Schema:   QC_hit: No
# Query_time: 0.000351  Lock_time: 0.000222  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047455;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2220  Schema:   QC_hit: No
# Query_time: 0.003758  Lock_time: 0.003675  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047455;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:17:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000471  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047457;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:17:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2223  Schema:   QC_hit: No
# Query_time: 0.000351  Lock_time: 0.000244  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047458;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2223  Schema:   QC_hit: No
# Query_time: 0.000223  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047458;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:17:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001984  Lock_time: 0.001531  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047459;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:17:38.278049' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:17:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000936  Lock_time: 0.000612  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047460;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:17:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000575  Lock_time: 0.000224  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047465;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:17:44.281355' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2225  Schema:   QC_hit: No
# Query_time: 0.000251  Lock_time: 0.000168  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047465;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2225  Schema:   QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000216  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047465;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:17:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000598  Lock_time: 0.000222  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047466;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:17:45.280795' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:17:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2227  Schema:   QC_hit: No
# Query_time: 0.000344  Lock_time: 0.000233  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047468;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2227  Schema:   QC_hit: No
# Query_time: 0.000257  Lock_time: 0.000185  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047468;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:17:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001389  Lock_time: 0.000412  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047472;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:17:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000348  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047473;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:17:52.281062' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:17:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000429  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047474;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:17:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002096  Lock_time: 0.001188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047475;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2231  Schema:   QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000201  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047475;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2231  Schema:   QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000136  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047475;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:17:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001761  Lock_time: 0.001404  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047477;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:17:56.277867' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:17:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2233  Schema:   QC_hit: No
# Query_time: 0.000244  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047478;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2233  Schema:   QC_hit: No
# Query_time: 0.000211  Lock_time: 0.000142  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047478;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001512  Lock_time: 0.001235  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047478;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:17:57.277813' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:18:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001819  Lock_time: 0.001466  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047481;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:18:00.280593' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:18:02
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001405  Lock_time: 0.001135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047482;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:18:01.280927' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:18:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000356  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047483;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:18:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000706  Lock_time: 0.000371  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047485;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:18:04.278073' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2235  Schema:   QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000153  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047485;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2235  Schema:   QC_hit: No
# Query_time: 0.000227  Lock_time: 0.000143  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047485;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:18:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2237  Schema:   QC_hit: No
# Query_time: 0.000324  Lock_time: 0.000208  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047488;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2237  Schema:   QC_hit: No
# Query_time: 0.000335  Lock_time: 0.000207  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047488;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:18:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000647  Lock_time: 0.000320  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047489;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:18:08.278004' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:18:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000658  Lock_time: 0.000300  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047490;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:18:09.277947' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:18:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000917  Lock_time: 0.000670  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047492;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:18:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633047493;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:18:12.278616' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:18:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000431  Lock_time: 0.000167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047494;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:18:13.280736' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:18:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000671  Lock_time: 0.000268  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047495;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:18:14.278092' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2239  Schema:   QC_hit: No
# Query_time: 0.001040  Lock_time: 0.000929  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047495;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2239  Schema:   QC_hit: No
# Query_time: 0.000241  Lock_time: 0.000167  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047495;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:18:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000379  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047497;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:18:16.277964' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:18:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2241  Schema:   QC_hit: No
# Query_time: 0.000309  Lock_time: 0.000232  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047498;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2241  Schema:   QC_hit: No
# Query_time: 0.000280  Lock_time: 0.000215  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047498;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001389  Lock_time: 0.000879  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047498;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:18:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000630  Lock_time: 0.000269  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047501;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:18:20.278568' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:18:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000538  Lock_time: 0.000260  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047502;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:18:21.280517' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:18:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2243  Schema:   QC_hit: No
# Query_time: 0.000350  Lock_time: 0.000252  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047505;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2243  Schema:   QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047505;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:18:27
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001337  Lock_time: 0.001046  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047507;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:18:26.277815' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:18:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2245  Schema:   QC_hit: No
# Query_time: 0.000567  Lock_time: 0.000380  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047508;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2245  Schema:   QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000153  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047508;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000435  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047508;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:18:27.277907' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:18:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000462  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047509;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:18:28.280931' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:18:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001353  Lock_time: 0.001034  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047510;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:18:29.280683' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:18:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000466  Lock_time: 0.000227  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047511;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:18:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000439  Lock_time: 0.000174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047512;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:18:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001062  Lock_time: 0.000840  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047513;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:18:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000626  Lock_time: 0.000306  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047514;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:18:33.281026' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:18:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2247  Schema:   QC_hit: No
# Query_time: 0.000418  Lock_time: 0.000281  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047515;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2247  Schema:   QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000194  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047515;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:18:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000571  Lock_time: 0.000283  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047516;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:18:35.277753' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:18:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000496  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047517;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:18:36.280839' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:18:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2249  Schema:   QC_hit: No
# Query_time: 0.000320  Lock_time: 0.000207  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047518;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2249  Schema:   QC_hit: No
# Query_time: 0.000318  Lock_time: 0.000194  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047518;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:18:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000520  Lock_time: 0.000233  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047520;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:18:39.277754' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:18:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000550  Lock_time: 0.000254  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047524;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:18:43.278201' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:18:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2251  Schema:   QC_hit: No
# Query_time: 0.000457  Lock_time: 0.000376  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047525;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2251  Schema:   QC_hit: No
# Query_time: 0.000323  Lock_time: 0.000239  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047525;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:18:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633047526;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:18:45.278367' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:18:47
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001582  Lock_time: 0.000264  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047527;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:18:46.277952' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:18:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2253  Schema:   QC_hit: No
# Query_time: 0.000430  Lock_time: 0.000328  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047528;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2253  Schema:   QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000183  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047528;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001542  Lock_time: 0.001169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047528;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:18:47.277772' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:18:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001274  Lock_time: 0.001025  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047529;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:18:48.278046' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:18:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000572  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047531;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:18:50.281279' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:18:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000531  Lock_time: 0.000202  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047532;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:18:51.278034' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:18:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000424  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047533;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:18:52.2782' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:18:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001206  Lock_time: 0.000327  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047534;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:18:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001563  Lock_time: 0.001113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047535;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:18:54.278037' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2255  Schema:   QC_hit: No
# Query_time: 0.000231  Lock_time: 0.000170  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047535;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2255  Schema:   QC_hit: No
# Query_time: 0.000178  Lock_time: 0.000107  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047535;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:18:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001038  Lock_time: 0.000462  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047537;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:18:56.27801' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:18:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2257  Schema:   QC_hit: No
# Query_time: 0.000491  Lock_time: 0.000305  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047538;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2257  Schema:   QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000142  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047538;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002492  Lock_time: 0.001981  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047538;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:18:57.277837' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:18:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000593  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047539;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:19:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000720  Lock_time: 0.000301  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047540;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:19:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000551  Lock_time: 0.000180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047541;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:19:00.281111' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:19:02
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001243  Lock_time: 0.000409  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047542;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:19:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001121  Lock_time: 0.000315  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047543;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:19:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003243  Lock_time: 0.001605  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047544;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:19:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000997  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047545;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000438  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047545;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:19:04.280817' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2259  Schema:   QC_hit: No
# Query_time: 0.000393  Lock_time: 0.000258  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047545;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2259  Schema:   QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047545;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:19:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2261  Schema:   QC_hit: No
# Query_time: 0.000462  Lock_time: 0.000372  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047548;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2261  Schema:   QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000172  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047548;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:19:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000439  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047549;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:19:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000633  Lock_time: 0.000356  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047550;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:19:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000585  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047552;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:19:11.278177' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:19:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000702  Lock_time: 0.000366  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047553;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:19:12.279448' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:19:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000759  Lock_time: 0.000383  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047555;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:19:14.280836' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2267  Schema:   QC_hit: No
# Query_time: 0.000303  Lock_time: 0.000223  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047555;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2267  Schema:   QC_hit: No
# Query_time: 0.000452  Lock_time: 0.000362  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047555;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:19:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000754  Lock_time: 0.000422  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047556;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:19:15.277856' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:19:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000995  Lock_time: 0.000284  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047557;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:19:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2269  Schema:   QC_hit: No
# Query_time: 0.000398  Lock_time: 0.000256  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047558;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2269  Schema:   QC_hit: No
# Query_time: 0.000333  Lock_time: 0.000258  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047558;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001273  Lock_time: 0.000992  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047558;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:19:17.277589' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:19:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000535  Lock_time: 0.000219  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047560;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:19:19.277846' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:19:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000944  Lock_time: 0.000677  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047561;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:19:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002287  Lock_time: 0.002014  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047562;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:19:21.277661' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:19:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000341  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047563;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:19:22.280543' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:19:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633047564;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:19:23.27744' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:19:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000408  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047565;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:19:24.280816' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2271  Schema:   QC_hit: No
# Query_time: 0.000195  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047565;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2271  Schema:   QC_hit: No
# Query_time: 0.000177  Lock_time: 0.000119  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047565;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:19:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000460  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047566;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:19:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2273  Schema:   QC_hit: No
# Query_time: 0.000296  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047568;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2273  Schema:   QC_hit: No
# Query_time: 0.000252  Lock_time: 0.000177  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047568;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000341  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047568;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:19:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000085  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047570;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:19:29.28095' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:19:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000618  Lock_time: 0.000283  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047573;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:19:32.277478' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:19:35
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000376  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047575;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:19:34.277965' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2275  Schema:   QC_hit: No
# Query_time: 0.000186  Lock_time: 0.000125  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047575;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2275  Schema:   QC_hit: No
# Query_time: 0.000159  Lock_time: 0.000103  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047575;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:19:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000541  Lock_time: 0.000253  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047577;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:19:36.278031' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:19:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2277  Schema:   QC_hit: No
# Query_time: 0.000346  Lock_time: 0.000166  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047578;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2277  Schema:   QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000237  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047578;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001885  Lock_time: 0.001343  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047578;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:19:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000704  Lock_time: 0.000351  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047579;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:19:38.280943' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:19:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000578  Lock_time: 0.000229  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047582;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:19:41.280733' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:19:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000650  Lock_time: 0.000419  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047583;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:19:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000598  Lock_time: 0.000239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047585;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:19:44.280865' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2279  Schema:   QC_hit: No
# Query_time: 0.000344  Lock_time: 0.000172  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047585;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2279  Schema:   QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000220  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047585;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:19:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001714  Lock_time: 0.001324  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047586;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:19:45.279777' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:19:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2281  Schema:   QC_hit: No
# Query_time: 0.000278  Lock_time: 0.000181  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047588;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2281  Schema:   QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000150  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047588;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:19:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000449  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047589;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:19:48.278459' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:19:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001304  Lock_time: 0.000830  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047590;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:19:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002167  Lock_time: 0.001682  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047591;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:19:50.278071' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:19:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000559  Lock_time: 0.000257  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047593;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:19:52.281333' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:19:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000523  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047594;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:19:53.277955' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:19:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000402  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047595;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2283  Schema:   QC_hit: No
# Query_time: 0.000323  Lock_time: 0.000248  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047595;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2283  Schema:   QC_hit: No
# Query_time: 0.000298  Lock_time: 0.000235  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047595;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:19:56
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000400  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047596;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:19:55.277864' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:19:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000442  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047597;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:19:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2285  Schema:   QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000201  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047598;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2285  Schema:   QC_hit: No
# Query_time: 0.000183  Lock_time: 0.000125  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047598;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000682  Lock_time: 0.000430  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047598;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:19:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000452  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047599;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:19:58.278245' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:20:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000387  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047600;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:19:59.280621' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:20:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000450  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047601;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:20:00.280804' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:20:02
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000396  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047602;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:20:01.27772' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:20:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000431  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047603;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:20:02.280394' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:20:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000538  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047605;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:20:04.277566' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2287  Schema:   QC_hit: No
# Query_time: 0.000324  Lock_time: 0.000168  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047605;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2287  Schema:   QC_hit: No
# Query_time: 0.000211  Lock_time: 0.000125  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047605;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:20:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2289  Schema:   QC_hit: No
# Query_time: 0.000537  Lock_time: 0.000355  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047608;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2289  Schema:   QC_hit: No
# Query_time: 0.000316  Lock_time: 0.000235  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047608;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001886  Lock_time: 0.001550  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047608;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:20:07.280652' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:20:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001770  Lock_time: 0.001380  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047609;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:20:08.280732' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:20:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000569  Lock_time: 0.000212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047610;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:20:09.277555' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:20:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000421  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047614;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:20:13.277556' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:20:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001056  Lock_time: 0.000565  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047615;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:20:14.280807' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2291  Schema:   QC_hit: No
# Query_time: 0.000392  Lock_time: 0.000257  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047615;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2291  Schema:   QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000193  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047615;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:20:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000583  Lock_time: 0.000287  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047616;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:20:15.277451' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:20:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000570  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047617;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:20:16.281321' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:20:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2293  Schema:   QC_hit: No
# Query_time: 0.000422  Lock_time: 0.000246  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047618;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2293  Schema:   QC_hit: No
# Query_time: 0.000250  Lock_time: 0.000174  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047618;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001026  Lock_time: 0.000826  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047618;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:20:17.28043' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:20:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001218  Lock_time: 0.000908  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047619;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:20:18.280608' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:20:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001645  Lock_time: 0.001181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047620;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:20:19.280837' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:20:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000517  Lock_time: 0.000226  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047621;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:20:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000810  Lock_time: 0.000309  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047624;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:20:23.277714' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:20:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000505  Lock_time: 0.000215  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047625;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:20:24.277686' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2295  Schema:   QC_hit: No
# Query_time: 0.000244  Lock_time: 0.000170  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047625;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2295  Schema:   QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000130  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047625;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:20:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2297  Schema:   QC_hit: No
# Query_time: 0.000250  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047628;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2297  Schema:   QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000137  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047628;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001563  Lock_time: 0.001170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047628;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:20:27.280664' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:20:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000750  Lock_time: 0.000476  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047629;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:20:28.280427' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:20:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000294  Lock_time: 0.000083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047630;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:20:29.28056' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:20:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001449  Lock_time: 0.001206  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047631;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:20:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001744  Lock_time: 0.001342  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047632;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:20:31.280643' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:20:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000484  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047633;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:20:32.280542' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:20:35
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001102  Lock_time: 0.000286  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047635;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2299  Schema:   QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000177  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047635;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2299  Schema:   QC_hit: No
# Query_time: 0.000170  Lock_time: 0.000116  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047635;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:20:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000861  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047637;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:20:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2301  Schema:   QC_hit: No
# Query_time: 0.000344  Lock_time: 0.000236  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047638;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2301  Schema:   QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000206  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047638;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:20:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000457  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047639;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:20:38.27784' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:20:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000396  Lock_time: 0.000107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047640;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:20:39.27805' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:20:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001474  Lock_time: 0.000354  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047642;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:20:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001970  Lock_time: 0.001618  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047643;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:20:42.278302' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:20:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2303  Schema:   QC_hit: No
# Query_time: 0.000444  Lock_time: 0.000260  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047645;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2303  Schema:   QC_hit: No
# Query_time: 0.000252  Lock_time: 0.000170  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047645;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:20:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000964  Lock_time: 0.000458  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047646;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:20:45.278025' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:20:47
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000535  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047647;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:20:46.278913' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:20:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2305  Schema:   QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000211  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047648;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2305  Schema:   QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000153  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047648;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001581  Lock_time: 0.001299  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047648;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:20:47.277945' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:20:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000899  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047649;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:20:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000517  Lock_time: 0.000247  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047653;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:20:52.278607' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:20:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000730  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047654;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:20:53.278295' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:20:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000546  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047655;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:20:54.278489' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2307  Schema:   QC_hit: No
# Query_time: 0.000312  Lock_time: 0.000164  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047655;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2307  Schema:   QC_hit: No
# Query_time: 0.000217  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047655;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:20:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2309  Schema:   QC_hit: No
# Query_time: 0.000499  Lock_time: 0.000307  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047658;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2309  Schema:   QC_hit: No
# Query_time: 0.000395  Lock_time: 0.000269  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047658;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000683  Lock_time: 0.000358  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047658;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:20:57.278094' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:20:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000730  Lock_time: 0.000377  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047659;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:20:58.278467' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:21:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001770  Lock_time: 0.001544  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047660;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:21:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000659  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047661;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:21:02
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000327  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047662;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:21:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001402  Lock_time: 0.001081  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047663;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:21:02.278057' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:21:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001038  Lock_time: 0.000420  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047664;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:21:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2311  Schema:   QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047665;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2311  Schema:   QC_hit: No
# Query_time: 0.000154  Lock_time: 0.000097  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047665;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:21:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000490  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047666;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:21:05.277729' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:21:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2313  Schema:   QC_hit: No
# Query_time: 0.000370  Lock_time: 0.000210  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047668;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2313  Schema:   QC_hit: No
# Query_time: 0.001210  Lock_time: 0.001123  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047668;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:21:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000713  Lock_time: 0.000337  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047669;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:21:08.280218' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:21:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001704  Lock_time: 0.001429  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047670;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:21:09.27984' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:21:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000737  Lock_time: 0.000304  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047671;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:21:10.278136' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:21:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633047672;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:21:11.280574' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:21:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000918  Lock_time: 0.000498  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047675;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:21:14.278702' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2315  Schema:   QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000154  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047675;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2315  Schema:   QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047675;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:21:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000524  Lock_time: 0.000243  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047676;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:21:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000739  Lock_time: 0.000327  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047677;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:21:16.277633' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:21:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2317  Schema:   QC_hit: No
# Query_time: 0.000473  Lock_time: 0.000284  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047678;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2317  Schema:   QC_hit: No
# Query_time: 0.000350  Lock_time: 0.000264  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047678;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001008  Lock_time: 0.000288  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047678;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:21:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000577  Lock_time: 0.000185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047679;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:21:18.277957' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:21:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001586  Lock_time: 0.001315  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047680;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:21:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000491  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047681;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:21:20.278485' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:21:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000411  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047682;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:21:21.280625' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:21:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633047683;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:21:22.277983' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:21:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000644  Lock_time: 0.000374  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047684;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:21:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2319  Schema:   QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000174  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047685;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2319  Schema:   QC_hit: No
# Query_time: 0.000256  Lock_time: 0.000192  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047685;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:21:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000406  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047686;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:21:25.281066' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:21:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2321  Schema:   QC_hit: No
# Query_time: 0.000365  Lock_time: 0.000239  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047688;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2321  Schema:   QC_hit: No
# Query_time: 0.000306  Lock_time: 0.000224  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047688;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000480  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047688;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:21:27.278133' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:21:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000523  Lock_time: 0.000208  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047689;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:21:28.277832' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:21:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000342  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047690;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:21:29.280597' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:21:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001146  Lock_time: 0.000911  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047691;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:21:30.280405' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:21:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001294  Lock_time: 0.001004  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047692;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:21:31.280656' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:21:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000378  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047693;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:21:32.280482' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:21:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2323  Schema:   QC_hit: No
# Query_time: 0.000641  Lock_time: 0.000524  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047695;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2323  Schema:   QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000165  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047695;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:21:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000524  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047696;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:21:35.278112' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:21:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000463  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047697;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:21:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2325  Schema:   QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000170  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047698;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2325  Schema:   QC_hit: No
# Query_time: 0.000167  Lock_time: 0.000102  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047698;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001167  Lock_time: 0.000890  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047698;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:21:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001614  Lock_time: 0.001252  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047700;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:21:39.277868' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:21:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000733  Lock_time: 0.000434  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047701;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:21:40.279837' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:21:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2327  Schema:   QC_hit: No
# Query_time: 0.000185  Lock_time: 0.000125  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047705;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2327  Schema:   QC_hit: No
# Query_time: 0.000198  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047705;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:21:47
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000836  Lock_time: 0.000454  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047707;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:21:46.280874' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:21:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2329  Schema:   QC_hit: No
# Query_time: 0.000426  Lock_time: 0.000327  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047708;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2329  Schema:   QC_hit: No
# Query_time: 0.000358  Lock_time: 0.000275  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047708;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000818  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047708;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:21:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000474  Lock_time: 0.000174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047709;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:21:48.277954' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:21:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001563  Lock_time: 0.001274  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047710;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:21:49.277827' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:21:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000623  Lock_time: 0.000357  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047711;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:21:50.277891' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:21:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000468  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047713;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:21:52.281503' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:21:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000423  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047714;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:21:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2331  Schema:   QC_hit: No
# Query_time: 0.000318  Lock_time: 0.000217  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047715;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2331  Schema:   QC_hit: No
# Query_time: 0.000322  Lock_time: 0.000213  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047715;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:21:56
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000548  Lock_time: 0.000216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047716;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:21:55.279872' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:21:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000431  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047717;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:21:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2333  Schema:   QC_hit: No
# Query_time: 0.000468  Lock_time: 0.000291  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047718;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2333  Schema:   QC_hit: No
# Query_time: 0.000310  Lock_time: 0.000218  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047718;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000400  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047718;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:21:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000611  Lock_time: 0.000211  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047719;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:21:58.277927' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:22:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000366  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047720;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:22:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000379  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047723;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:22:02.28096' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:22:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001699  Lock_time: 0.001397  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047724;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:22:03.280638' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:22:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000508  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047725;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:22:04.278156' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2335  Schema:   QC_hit: No
# Query_time: 0.000312  Lock_time: 0.000207  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047725;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2335  Schema:   QC_hit: No
# Query_time: 0.000281  Lock_time: 0.000200  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047725;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:22:07
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633047727;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:22:06.280623' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:22:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2337  Schema:   QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000157  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047728;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2337  Schema:   QC_hit: No
# Query_time: 0.000416  Lock_time: 0.000345  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047728;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000628  Lock_time: 0.000305  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047728;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:22:07.277506' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:22:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000713  Lock_time: 0.000299  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047730;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:22:09.280601' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:22:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000545  Lock_time: 0.000263  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047732;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:22:11.277379' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:22:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000509  Lock_time: 0.000242  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047735;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:22:14.277926' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2339  Schema:   QC_hit: No
# Query_time: 0.000369  Lock_time: 0.000248  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047735;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2339  Schema:   QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000210  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047735;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:22:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000441  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047737;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:22:16.277907' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:22:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2341  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=1633047738;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2341  Schema:   QC_hit: No
# Query_time: 0.000210  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047738;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:22:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000618  Lock_time: 0.000275  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047739;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:22:18.278273' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:22:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000577  Lock_time: 0.000191  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047740;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:22:19.279983' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:22:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001224  Lock_time: 0.000869  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047741;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:22:20.278233' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:22:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001412  Lock_time: 0.001103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047742;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:22:21.280266' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:22:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000446  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047743;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:22:22.278065' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:22:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000675  Lock_time: 0.000207  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047744;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:22:23.278112' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:22:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2343  Schema:   QC_hit: No
# Query_time: 0.000270  Lock_time: 0.000171  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047745;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2343  Schema:   QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000172  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047745;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:22:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000494  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047746;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:22:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2345  Schema:   QC_hit: No
# Query_time: 0.000310  Lock_time: 0.000232  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047748;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2345  Schema:   QC_hit: No
# Query_time: 0.000193  Lock_time: 0.000130  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047748;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000538  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047748;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:22:27.277399' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:22:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000701  Lock_time: 0.000191  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047749;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:22:28.281102' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:22:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003046  Lock_time: 0.001312  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047750;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:22:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000557  Lock_time: 0.000218  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047752;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:22:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000770  Lock_time: 0.000264  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047753;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:22:32.281171' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:22:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2347  Schema:   QC_hit: No
# Query_time: 0.000231  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047755;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2347  Schema:   QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000182  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047755;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:22:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001025  Lock_time: 0.000615  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047757;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:22:36.277785' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:22:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2349  Schema:   QC_hit: No
# Query_time: 0.000407  Lock_time: 0.000259  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047758;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2349  Schema:   QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000204  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047758;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:22:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000393  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047759;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:22:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001812  Lock_time: 0.001490  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047760;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:22:39.280717' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:22:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001960  Lock_time: 0.001608  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047765;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:22:44.278097' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2351  Schema:   QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047765;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2351  Schema:   QC_hit: No
# Query_time: 0.000366  Lock_time: 0.000237  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047765;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:22:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2353  Schema:   QC_hit: No
# Query_time: 0.000347  Lock_time: 0.000253  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047768;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2353  Schema:   QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000188  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047768;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000609  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047768;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:22:47.280979' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:22:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000948  Lock_time: 0.000301  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047769;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:22:48.277645' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:22:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000511  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047770;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:22:49.277575' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:22:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000411  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047771;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:22:50.280899' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:22:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000546  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047772;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:22:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633047774;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:22:53.280793' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:22:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2355  Schema:   QC_hit: No
# Query_time: 0.000385  Lock_time: 0.000238  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047775;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2355  Schema:   QC_hit: No
# Query_time: 0.000230  Lock_time: 0.000139  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047775;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:22:56
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000584  Lock_time: 0.000187  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047776;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:22:55.280935' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:22:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001186  Lock_time: 0.000744  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047777;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:22:56.280603' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:22:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2357  Schema:   QC_hit: No
# Query_time: 0.000438  Lock_time: 0.000262  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047778;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2357  Schema:   QC_hit: No
# Query_time: 0.000242  Lock_time: 0.000162  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047778;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000876  Lock_time: 0.000334  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047778;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:22:57.277734' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:23:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001078  Lock_time: 0.000386  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047780;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:23:02
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001434  Lock_time: 0.001133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047782;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:23:01.280301' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:23:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001725  Lock_time: 0.001365  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047783;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:23:02.280727' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:23:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000426  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047784;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:23:03.277672' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:23:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000760  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047785;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:23:04.277728' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2359  Schema:   QC_hit: No
# Query_time: 0.000284  Lock_time: 0.000151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047785;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2359  Schema:   QC_hit: No
# Query_time: 0.000292  Lock_time: 0.000226  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047785;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:23:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000626  Lock_time: 0.000159  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047786;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:23:05.280743' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:23:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2361  Schema:   QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000196  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047788;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2361  Schema:   QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000173  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047788;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000541  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047788;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:23:07.277734' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:23:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000853  Lock_time: 0.000159  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047790;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:23:09.281321' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:23:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000581  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047791;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:23:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000507  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047792;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:23:11.280582' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:23:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000429  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047793;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:23:12.280787' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:23:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001708  Lock_time: 0.001361  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047794;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:23:13.280575' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:23:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2363  Schema:   QC_hit: No
# Query_time: 0.000219  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047795;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2363  Schema:   QC_hit: No
# Query_time: 0.000170  Lock_time: 0.000112  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047795;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:23:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000643  Lock_time: 0.000181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047796;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:23:15.278269' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:23:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000592  Lock_time: 0.000246  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047797;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:23:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2365  Schema:   QC_hit: No
# Query_time: 0.000414  Lock_time: 0.000201  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047798;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2365  Schema:   QC_hit: No
# Query_time: 0.000314  Lock_time: 0.000224  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047798;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000591  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047798;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:23:17.277718' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:23:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000555  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047799;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:23:18.28089' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:23:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000443  Lock_time: 0.000093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047800;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:23:19.27749' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:23:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000550  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047802;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:23:21.280494' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:23:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000463  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047803;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:23:22.280518' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:23:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000443  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047804;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:23:23.280528' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:23:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2367  Schema:   QC_hit: No
# Query_time: 0.000191  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047805;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2367  Schema:   QC_hit: No
# Query_time: 0.000153  Lock_time: 0.000096  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047805;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:23:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000885  Lock_time: 0.000386  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047806;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:23:25.280872' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:23:27
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000587  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047807;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:23:26.277635' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:23:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2369  Schema:   QC_hit: No
# Query_time: 0.000304  Lock_time: 0.000205  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047808;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2369  Schema:   QC_hit: No
# Query_time: 0.000229  Lock_time: 0.000151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047808;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:23:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001113  Lock_time: 0.000419  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047809;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:23:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001864  Lock_time: 0.001559  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047812;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:23:31.279709' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:23:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000547  Lock_time: 0.000225  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047813;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:23:32.277471' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:23:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000504  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047814;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:23:35
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001685  Lock_time: 0.001377  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047815;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:23:34.279042' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2371  Schema:   QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000159  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047815;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2371  Schema:   QC_hit: No
# Query_time: 0.000157  Lock_time: 0.000104  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047815;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:23:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000789  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047816;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:23:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000540  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047817;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:23:36.277684' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:23:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2373  Schema:   QC_hit: No
# Query_time: 0.000353  Lock_time: 0.000181  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047818;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2373  Schema:   QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000136  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047818;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000633  Lock_time: 0.000251  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047818;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:23:37.279854' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:23:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000716  Lock_time: 0.000266  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047819;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:23:38.277677' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:23:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000622  Lock_time: 0.000247  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047820;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:23:39.280874' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:23:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000626  Lock_time: 0.000304  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047821;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:23:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000518  Lock_time: 0.000180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047824;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:23:43.277859' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:23:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000584  Lock_time: 0.000212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047825;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:23:44.28094' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2377  Schema:   QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000184  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047825;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2377  Schema:   QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000189  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047825;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:23:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2379  Schema:   QC_hit: No
# Query_time: 0.000371  Lock_time: 0.000195  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047828;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2379  Schema:   QC_hit: No
# Query_time: 0.000294  Lock_time: 0.000184  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047828;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:23:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001477  Lock_time: 0.001019  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047833;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:23:52.277501' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:23:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2381  Schema:   QC_hit: No
# Query_time: 0.000358  Lock_time: 0.000200  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047835;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2381  Schema:   QC_hit: No
# Query_time: 0.000292  Lock_time: 0.000216  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047835;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:23:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000742  Lock_time: 0.000338  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047837;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:23:56.280837' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:23:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2383  Schema:   QC_hit: No
# Query_time: 0.000398  Lock_time: 0.000249  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047838;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2383  Schema:   QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000169  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047838;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000975  Lock_time: 0.000182  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047838;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:23:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000730  Lock_time: 0.000297  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047839;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:23:58.280869' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:24:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000613  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047843;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:24:02.277561' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:24:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2385  Schema:   QC_hit: No
# Query_time: 0.000385  Lock_time: 0.000276  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047845;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2385  Schema:   QC_hit: No
# Query_time: 0.000198  Lock_time: 0.000128  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047845;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:24:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000709  Lock_time: 0.000222  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047846;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:24:05.278231' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:24:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2387  Schema:   QC_hit: No
# Query_time: 0.000298  Lock_time: 0.000196  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047848;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2387  Schema:   QC_hit: No
# Query_time: 0.000193  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047848;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:24:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002600  Lock_time: 0.001640  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047849;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:24:08.277732' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:24:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000413  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047850;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:24:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000508  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047851;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:24:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000832  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047853;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:24:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000801  Lock_time: 0.000362  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047854;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:24:13.281129' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:24:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000673  Lock_time: 0.000281  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047855;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:24:14.277752' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2389  Schema:   QC_hit: No
# Query_time: 0.000303  Lock_time: 0.000210  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047855;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2389  Schema:   QC_hit: No
# Query_time: 0.000176  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047855;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:24:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000982  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047856;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:24:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2391  Schema:   QC_hit: No
# Query_time: 0.000323  Lock_time: 0.000184  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047858;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2391  Schema:   QC_hit: No
# Query_time: 0.000210  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047858;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:24:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000574  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047859;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:24:18.280563' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:24:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001501  Lock_time: 0.001204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047860;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:24:19.280395' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:24:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001318  Lock_time: 0.000910  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047861;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:24:20.280809' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:24:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000709  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047862;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:24:21.277836' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:24:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000475  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047863;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:24:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2393  Schema:   QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000221  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047865;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2393  Schema:   QC_hit: No
# Query_time: 0.000219  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047865;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:24:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001835  Lock_time: 0.001372  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047866;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:24:25.280941' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:24:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2395  Schema:   QC_hit: No
# Query_time: 0.000198  Lock_time: 0.000117  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047868;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2395  Schema:   QC_hit: No
# Query_time: 0.000144  Lock_time: 0.000095  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047868;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001647  Lock_time: 0.001180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047868;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:24:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000569  Lock_time: 0.000227  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047870;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:24:29.280789' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:24:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000524  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047872;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:24:31.280641' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:24:35
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000653  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047875;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:24:34.280895' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2397  Schema:   QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000158  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047875;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2397  Schema:   QC_hit: No
# Query_time: 0.000163  Lock_time: 0.000100  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047875;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:24:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001228  Lock_time: 0.000427  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047876;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:24:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2399  Schema:   QC_hit: No
# Query_time: 0.000436  Lock_time: 0.000248  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047878;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2399  Schema:   QC_hit: No
# Query_time: 0.000362  Lock_time: 0.000275  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047878;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000931  Lock_time: 0.000211  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047878;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:24:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001833  Lock_time: 0.001423  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047882;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:24:41.277895' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:24:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000401  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047883;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:24:42.277659' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:24:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2401  Schema:   QC_hit: No
# Query_time: 0.000307  Lock_time: 0.000151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047885;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2401  Schema:   QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047885;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:24:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000530  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047886;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:24:45.278007' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:24:47
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000879  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047887;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:24:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2403  Schema:   QC_hit: No
# Query_time: 0.000209  Lock_time: 0.000139  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047888;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2403  Schema:   QC_hit: No
# Query_time: 0.000167  Lock_time: 0.000114  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047888;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:24:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001296  Lock_time: 0.000957  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047889;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:24:48.277549' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:24:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001375  Lock_time: 0.001180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047892;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:24:51.277428' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:24:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000647  Lock_time: 0.000207  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047894;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:24:53.280686' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:24:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2405  Schema:   QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000192  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047895;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2405  Schema:   QC_hit: No
# Query_time: 0.000229  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047895;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:24:56
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001528  Lock_time: 0.001203  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047896;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:24:55.280564' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:24:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000410  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047897;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:24:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2407  Schema:   QC_hit: No
# Query_time: 0.000498  Lock_time: 0.000326  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047898;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2407  Schema:   QC_hit: No
# Query_time: 0.000332  Lock_time: 0.000245  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047898;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000937  Lock_time: 0.000620  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047898;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:24:57.280773' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:24:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000075  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047899;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:24:58.277325' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:25:02
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001513  Lock_time: 0.001248  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047902;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:25:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001812  Lock_time: 0.001411  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047903;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:25:02.280661' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:25:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2409  Schema:   QC_hit: No
# Query_time: 0.000244  Lock_time: 0.000151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047905;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2409  Schema:   QC_hit: No
# Query_time: 0.000189  Lock_time: 0.000117  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047905;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:25:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001426  Lock_time: 0.001124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047906;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:25:05.277546' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:25:07
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000462  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047907;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:25:06.281126' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:25:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2411  Schema:   QC_hit: No
# Query_time: 0.000296  Lock_time: 0.000194  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047908;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2411  Schema:   QC_hit: No
# Query_time: 0.000363  Lock_time: 0.000249  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047908;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:25:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000541  Lock_time: 0.000245  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047909;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:25:08.277764' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:25:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000617  Lock_time: 0.000239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047910;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:25:09.277755' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:25:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001598  Lock_time: 0.001237  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047911;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:25:10.277638' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:25:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000448  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047913;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:25:12.28068' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:25:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000617  Lock_time: 0.000276  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047914;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:25:13.277688' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:25:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000313  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047915;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:25:14.280949' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2413  Schema:   QC_hit: No
# Query_time: 0.000328  Lock_time: 0.000235  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047915;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2413  Schema:   QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000228  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047915;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:25:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000442  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047916;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:25:15.277893' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:25:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2415  Schema:   QC_hit: No
# Query_time: 0.000447  Lock_time: 0.000280  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047918;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2415  Schema:   QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047918;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:25:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001543  Lock_time: 0.001218  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047919;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:25:18.277871' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:25:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000594  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047920;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:25:19.280831' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:25:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000438  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047923;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:25:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000512  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047925;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:25:24.280931' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2417  Schema:   QC_hit: No
# Query_time: 0.000345  Lock_time: 0.000194  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047925;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2417  Schema:   QC_hit: No
# Query_time: 0.000596  Lock_time: 0.000494  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047925;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:25:27
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000457  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047927;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:25:26.277816' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:25:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2419  Schema:   QC_hit: No
# Query_time: 0.000289  Lock_time: 0.000181  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047928;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2419  Schema:   QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000209  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047928;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:25:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000555  Lock_time: 0.000211  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047929;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:25:28.280885' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:25:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000391  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047931;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:25:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000367  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047932;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:25:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000336  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047933;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:25:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001283  Lock_time: 0.000918  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047934;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:25:33.280805' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:25:35
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001701  Lock_time: 0.001256  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047935;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:25:34.280615' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2421  Schema:   QC_hit: No
# Query_time: 0.000332  Lock_time: 0.000214  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047935;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2421  Schema:   QC_hit: No
# Query_time: 0.000334  Lock_time: 0.000249  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047935;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:25:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000428  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047936;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:25:35.27975' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:25:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000651  Lock_time: 0.000253  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047937;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:25:36.277725' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:25:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2423  Schema:   QC_hit: No
# Query_time: 0.000241  Lock_time: 0.000157  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047938;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2423  Schema:   QC_hit: No
# Query_time: 0.000314  Lock_time: 0.000250  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047938;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000601  Lock_time: 0.000281  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047938;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:25:37.277771' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:25:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000590  Lock_time: 0.000230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047943;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:25:42.280677' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:25:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2425  Schema:   QC_hit: No
# Query_time: 0.000325  Lock_time: 0.000226  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047945;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2425  Schema:   QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000163  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047945;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:25:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000522  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047946;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:25:45.287397' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:25:47
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000652  Lock_time: 0.000272  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047947;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:25:46.278053' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:25:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2427  Schema:   QC_hit: No
# Query_time: 0.000316  Lock_time: 0.000229  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047948;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2427  Schema:   QC_hit: No
# Query_time: 0.000330  Lock_time: 0.000214  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047948;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:25:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001590  Lock_time: 0.001268  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047949;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:25:48.27772' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:25:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001662  Lock_time: 0.001273  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047950;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:25:49.277891' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:25:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000991  Lock_time: 0.000653  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047951;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:25:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001789  Lock_time: 0.001424  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047955;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:25:54.277354' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2429  Schema:   QC_hit: No
# Query_time: 0.000362  Lock_time: 0.000224  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047955;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2429  Schema:   QC_hit: No
# Query_time: 0.000229  Lock_time: 0.000158  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047955;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:25:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2431  Schema:   QC_hit: No
# Query_time: 0.000374  Lock_time: 0.000218  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047958;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2431  Schema:   QC_hit: No
# Query_time: 0.000299  Lock_time: 0.000213  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047958;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000630  Lock_time: 0.000326  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047958;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:26:02
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000681  Lock_time: 0.000300  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047962;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:26:01.27802' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:26:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001734  Lock_time: 0.001474  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047964;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:26:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2433  Schema:   QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000165  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047965;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2433  Schema:   QC_hit: No
# Query_time: 0.000258  Lock_time: 0.000183  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047965;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:26:07
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000519  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047967;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:26:06.282147' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:26:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2435  Schema:   QC_hit: No
# Query_time: 0.000470  Lock_time: 0.000322  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047968;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2435  Schema:   QC_hit: No
# Query_time: 0.000300  Lock_time: 0.000218  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047968;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000462  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047968;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:26:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001407  Lock_time: 0.001104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047971;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:26:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000416  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047974;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:26:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001104  Lock_time: 0.000454  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047975;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:26:14.277894' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2437  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=1633047975;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2437  Schema:   QC_hit: No
# Query_time: 0.000253  Lock_time: 0.000173  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047975;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:26:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000609  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047976;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:26:15.277955' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:26:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000528  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047977;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:26:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2439  Schema:   QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000177  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047978;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2439  Schema:   QC_hit: No
# Query_time: 0.000223  Lock_time: 0.000156  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047978;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001827  Lock_time: 0.001467  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047978;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:26:17.277792' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:26:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000544  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047980;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:26:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000817  Lock_time: 0.000319  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047983;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:26:22.280744' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:26:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000912  Lock_time: 0.000402  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047985;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:26:24.277733' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2441  Schema:   QC_hit: No
# Query_time: 0.002052  Lock_time: 0.001974  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047985;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2441  Schema:   QC_hit: No
# Query_time: 0.000347  Lock_time: 0.000285  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047985;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:26:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2443  Schema:   QC_hit: No
# Query_time: 0.000456  Lock_time: 0.000290  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047988;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2443  Schema:   QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000179  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047988;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:26:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000649  Lock_time: 0.000267  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047989;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:26:28.280738' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:26:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001379  Lock_time: 0.001111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047990;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:26:29.280586' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:26:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000467  Lock_time: 0.000227  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047991;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:26:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001424  Lock_time: 0.000982  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047993;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:26:32.280296' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:26:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001396  Lock_time: 0.001166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047994;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:26:33.28059' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:26:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2445  Schema:   QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000153  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047995;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2445  Schema:   QC_hit: No
# Query_time: 0.000198  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047995;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:26:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000321  Lock_time: 0.000093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047996;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:26:35.28041' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:26:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2447  Schema:   QC_hit: No
# Query_time: 0.000395  Lock_time: 0.000245  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633047998;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2447  Schema:   QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633047998;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000478  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047998;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:26:37.280717' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:26:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000574  Lock_time: 0.000278  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633047999;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:26:38.277924' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:26:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000713  Lock_time: 0.000265  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048000;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:26:39.278349' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:26:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001229  Lock_time: 0.000912  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048001;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:26:40.277864' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:26:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001668  Lock_time: 0.001399  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048004;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:26:43.2777' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:26:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001760  Lock_time: 0.001427  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048005;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:26:44.280729' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2449  Schema:   QC_hit: No
# Query_time: 0.000265  Lock_time: 0.000183  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048005;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2449  Schema:   QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048005;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:26:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000560  Lock_time: 0.000232  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048006;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:26:45.277823' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:26:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2451  Schema:   QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000197  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048008;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2451  Schema:   QC_hit: No
# Query_time: 0.000310  Lock_time: 0.000238  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048008;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000716  Lock_time: 0.000298  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048008;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:26:47.280769' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:26:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000472  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048009;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:26:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000622  Lock_time: 0.000282  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048012;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:26:51.279791' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:26:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000431  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048013;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:26:52.280511' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:26:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002092  Lock_time: 0.001745  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048014;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:26:53.277637' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:26:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001629  Lock_time: 0.001357  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048015;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2453  Schema:   QC_hit: No
# Query_time: 0.000381  Lock_time: 0.000228  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048015;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2453  Schema:   QC_hit: No
# Query_time: 0.000164  Lock_time: 0.000103  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048015;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:26:56
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001283  Lock_time: 0.000979  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048016;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:26:55.28059' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:26:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000446  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048017;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:26:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2455  Schema:   QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000182  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048018;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2455  Schema:   QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000155  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048018;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000501  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048018;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:26:57.280528' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:26:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000521  Lock_time: 0.000195  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048019;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:26:58.280927' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:27:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000423  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048020;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:26:59.277324' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:27:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000529  Lock_time: 0.000253  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048021;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:27:00.280341' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:27:02
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000639  Lock_time: 0.000292  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048022;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:27:01.280596' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:27:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000635  Lock_time: 0.000281  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048024;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:27:03.280774' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:27:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000690  Lock_time: 0.000371  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048025;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:27:04.277615' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2457  Schema:   QC_hit: No
# Query_time: 0.000257  Lock_time: 0.000166  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048025;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2457  Schema:   QC_hit: No
# Query_time: 0.000199  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048025;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:27:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000820  Lock_time: 0.000415  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048026;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:27:05.281617' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:27:07
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000553  Lock_time: 0.000270  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048027;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:27:06.280496' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:27:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2459  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=1633048028;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2459  Schema:   QC_hit: No
# Query_time: 0.000321  Lock_time: 0.000245  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048028;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000428  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048028;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:27:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000434  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048029;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:27:08.28062' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:27:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000970  Lock_time: 0.000707  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048030;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:27:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000976  Lock_time: 0.000291  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048031;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:27:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000564  Lock_time: 0.000255  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048032;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:27:11.278236' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:27:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000407  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048034;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:27:13.280677' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:27:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2461  Schema:   QC_hit: No
# Query_time: 0.000378  Lock_time: 0.000207  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048035;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2461  Schema:   QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000189  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048035;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:27:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000549  Lock_time: 0.000219  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048036;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:27:15.278084' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:27:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000484  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048037;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:27:16.277796' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:27:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2463  Schema:   QC_hit: No
# Query_time: 0.000338  Lock_time: 0.000226  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048038;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2463  Schema:   QC_hit: No
# Query_time: 0.000231  Lock_time: 0.000159  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048038;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000489  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048038;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:27:17.278235' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:27:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000451  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048039;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:27:18.278324' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:27:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001705  Lock_time: 0.001378  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048041;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:27:20.278091' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:27:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000606  Lock_time: 0.000259  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048043;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:27:22.278076' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:27:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000558  Lock_time: 0.000230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048044;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:27:23.278102' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:27:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000517  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048045;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:27:24.278233' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2465  Schema:   QC_hit: No
# Query_time: 0.000211  Lock_time: 0.000139  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048045;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2465  Schema:   QC_hit: No
# Query_time: 0.000134  Lock_time: 0.000085  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048045;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:27:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001082  Lock_time: 0.000777  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048046;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:27:25.278081' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:27:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2467  Schema:   QC_hit: No
# Query_time: 0.000363  Lock_time: 0.000242  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048048;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2467  Schema:   QC_hit: No
# Query_time: 0.000258  Lock_time: 0.000189  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048048;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.012427  Lock_time: 0.012022  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048048;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:27:27.277727' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:27:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000453  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048049;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:27:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000488  Lock_time: 0.000193  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048052;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:27:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000499  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048054;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:27:33.277773' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:27:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2469  Schema:   QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048055;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2469  Schema:   QC_hit: No
# Query_time: 0.000276  Lock_time: 0.000174  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048055;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:27:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002170  Lock_time: 0.001552  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048056;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:27:35.280602' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:27:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000613  Lock_time: 0.000371  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048057;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:27:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2471  Schema:   QC_hit: No
# Query_time: 0.000270  Lock_time: 0.000193  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048058;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2471  Schema:   QC_hit: No
# Query_time: 0.000198  Lock_time: 0.000136  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048058;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001137  Lock_time: 0.000740  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048058;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:27:37.279734' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:27:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001615  Lock_time: 0.001300  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048060;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:27:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001434  Lock_time: 0.001125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048061;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:27:40.27765' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:27:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000727  Lock_time: 0.000297  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048062;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:27:41.281051' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:27:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000439  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048063;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:27:42.277765' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:27:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2473  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=1633048065;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2473  Schema:   QC_hit: No
# Query_time: 0.000180  Lock_time: 0.000124  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048065;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:27:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2475  Schema:   QC_hit: No
# Query_time: 0.000376  Lock_time: 0.000194  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048068;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2475  Schema:   QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000190  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048068;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000635  Lock_time: 0.000304  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048068;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:27:47.278142' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:27:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001015  Lock_time: 0.000616  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048069;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:27:48.278147' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:27:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002445  Lock_time: 0.002184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048070;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:27:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001961  Lock_time: 0.001561  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048071;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:27:50.277647' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:27:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2477  Schema:   QC_hit: No
# Query_time: 0.000502  Lock_time: 0.000342  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048075;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2477  Schema:   QC_hit: No
# Query_time: 0.000324  Lock_time: 0.000238  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048075;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:27:56
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633048076;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:27:55.280762' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:27:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2479  Schema:   QC_hit: No
# Query_time: 0.000594  Lock_time: 0.000406  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048078;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2479  Schema:   QC_hit: No
# Query_time: 0.000322  Lock_time: 0.000221  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048078;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001622  Lock_time: 0.001305  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048078;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:27:57.278035' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:27:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000595  Lock_time: 0.000236  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048079;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:27:58.277663' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:28:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000397  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048081;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:28:00.280572' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:28:02
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000500  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048082;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:28:01.280726' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:28:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000686  Lock_time: 0.000334  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048083;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:28:02.277388' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:28:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2481  Schema:   QC_hit: No
# Query_time: 0.000324  Lock_time: 0.000186  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048085;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2481  Schema:   QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000137  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048085;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:28:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000682  Lock_time: 0.000219  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048086;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:28:05.280912' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:28:07
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000487  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048087;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:28:06.277771' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:28:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2483  Schema:   QC_hit: No
# Query_time: 0.000351  Lock_time: 0.000219  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048088;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2483  Schema:   QC_hit: No
# Query_time: 0.000325  Lock_time: 0.000213  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048088;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000476  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048088;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:28:07.278403' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:28:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000420  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048089;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:28:08.278327' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:28:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001047  Lock_time: 0.000211  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048093;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:28:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000591  Lock_time: 0.000275  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048094;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:28:13.278166' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:28:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001348  Lock_time: 0.001056  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048095;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:28:14.278036' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2489  Schema:   QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048095;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2489  Schema:   QC_hit: No
# Query_time: 0.000205  Lock_time: 0.000120  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048095;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:28:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001677  Lock_time: 0.001386  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048096;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:28:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001571  Lock_time: 0.001197  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048097;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:28:16.278332' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:28:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2491  Schema:   QC_hit: No
# Query_time: 0.000370  Lock_time: 0.000281  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048098;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2491  Schema:   QC_hit: No
# Query_time: 0.000355  Lock_time: 0.000272  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048098;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000545  Lock_time: 0.000266  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048098;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:28:17.277932' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:28:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000975  Lock_time: 0.000294  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048099;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:28:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001142  Lock_time: 0.000766  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048100;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:28:19.281128' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:28:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000819  Lock_time: 0.000242  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048101;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:28:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002073  Lock_time: 0.001459  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048103;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:28:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000548  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048105;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:28:24.277648' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2494  Schema:   QC_hit: No
# Query_time: 0.000376  Lock_time: 0.000228  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048105;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2494  Schema:   QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000170  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048105;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:28:27
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000690  Lock_time: 0.000300  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048107;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:28:26.277983' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:28:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2496  Schema:   QC_hit: No
# Query_time: 0.000345  Lock_time: 0.000201  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048108;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2496  Schema:   QC_hit: No
# Query_time: 0.000317  Lock_time: 0.000232  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048108;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002037  Lock_time: 0.001739  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048108;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:28:27.277537' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:28:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000393  Lock_time: 0.000155  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048110;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:28:29.277852' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:28:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000447  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048112;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:28:35
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000419  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048115;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:28:34.280377' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2499  Schema:   QC_hit: No
# Query_time: 0.000366  Lock_time: 0.000228  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048115;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2499  Schema:   QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000172  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048115;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:28:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001373  Lock_time: 0.001008  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048116;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:28:35.280449' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:28:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001756  Lock_time: 0.001348  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048117;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:28:36.280607' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:28:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2501  Schema:   QC_hit: No
# Query_time: 0.000202  Lock_time: 0.000131  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048118;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2501  Schema:   QC_hit: No
# Query_time: 0.000201  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048118;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000522  Lock_time: 0.000207  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048118;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:28:37.277531' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:28:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000649  Lock_time: 0.000197  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048119;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:28:38.280806' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:28:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003130  Lock_time: 0.002720  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048121;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:28:40.280933' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:28:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000685  Lock_time: 0.000319  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048123;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:28:42.278001' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:28:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000857  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048125;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2503  Schema:   QC_hit: No
# Query_time: 0.000305  Lock_time: 0.000175  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048125;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2503  Schema:   QC_hit: No
# Query_time: 0.000278  Lock_time: 0.000168  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048125;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:28:47
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002095  Lock_time: 0.001347  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048127;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:28:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2505  Schema:   QC_hit: No
# Query_time: 0.000359  Lock_time: 0.000209  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048128;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2505  Schema:   QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000169  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048128;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:28:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000719  Lock_time: 0.000417  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048129;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:28:48.277683' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:28:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000504  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048130;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:28:49.282056' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:28:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001803  Lock_time: 0.001415  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048131;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:28:50.280668' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:28:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000993  Lock_time: 0.000262  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048132;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:28:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000530  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048135;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:28:54.277785' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2510  Schema:   QC_hit: No
# Query_time: 0.000269  Lock_time: 0.000156  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048135;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2510  Schema:   QC_hit: No
# Query_time: 0.000208  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048135;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:28:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000689  Lock_time: 0.000278  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048137;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:28:56.280377' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:28:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2512  Schema:   QC_hit: No
# Query_time: 0.000385  Lock_time: 0.000223  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048138;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2512  Schema:   QC_hit: No
# Query_time: 0.000312  Lock_time: 0.000210  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048138;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001167  Lock_time: 0.000872  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048138;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:28:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001639  Lock_time: 0.001277  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048139;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:28:58.280386' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:29:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000339  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048143;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:29:02.280645' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:29:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002020  Lock_time: 0.001691  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048144;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:29:03.278168' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:29:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000661  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048145;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:29:04.277793' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2514  Schema:   QC_hit: No
# Query_time: 0.000327  Lock_time: 0.000190  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048145;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2514  Schema:   QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048145;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:29:07
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000499  Lock_time: 0.000207  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048147;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:29:06.277969' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:29:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2516  Schema:   QC_hit: No
# Query_time: 0.000342  Lock_time: 0.000250  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048148;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2516  Schema:   QC_hit: No
# Query_time: 0.000390  Lock_time: 0.000304  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048148;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001735  Lock_time: 0.001361  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048148;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:29:07.277804' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:29:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000521  Lock_time: 0.000218  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048149;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:29:08.277937' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:29:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000896  Lock_time: 0.000635  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048154;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:29:13.280659' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:29:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2519  Schema:   QC_hit: No
# Query_time: 0.001063  Lock_time: 0.000960  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048155;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2519  Schema:   QC_hit: No
# Query_time: 0.000227  Lock_time: 0.000158  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048155;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:29:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000574  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048157;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:29:16.277743' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:29:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2521  Schema:   QC_hit: No
# Query_time: 0.000357  Lock_time: 0.000252  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048158;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2521  Schema:   QC_hit: No
# Query_time: 0.000309  Lock_time: 0.000211  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048158;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000573  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048158;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:29:17.277741' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:29:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000478  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048159;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:29:18.281497' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:29:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001308  Lock_time: 0.000989  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048160;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:29:19.28071' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:29:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000435  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048164;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:29:23.27769' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:29:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000595  Lock_time: 0.000238  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048165;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:29:24.281263' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2523  Schema:   QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000139  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048165;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2523  Schema:   QC_hit: No
# Query_time: 0.000280  Lock_time: 0.000218  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048165;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:29:27
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000468  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048167;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:29:26.277742' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:29:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2525  Schema:   QC_hit: No
# Query_time: 0.000442  Lock_time: 0.000345  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048168;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2525  Schema:   QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000195  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048168;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:29:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000947  Lock_time: 0.000654  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048169;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:29:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633048170;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:29:29.2811' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:29:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001522  Lock_time: 0.001196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048173;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:29:32.280525' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:29:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001474  Lock_time: 0.001113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048174;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:29:33.280699' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:29:35
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000498  Lock_time: 0.000229  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048175;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:29:34.277714' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2528  Schema:   QC_hit: No
# Query_time: 0.000261  Lock_time: 0.000166  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048175;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2528  Schema:   QC_hit: No
# Query_time: 0.000174  Lock_time: 0.000119  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048175;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:29:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000860  Lock_time: 0.000508  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048176;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:29:35.280748' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:29:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2530  Schema:   QC_hit: No
# Query_time: 0.000401  Lock_time: 0.000280  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048178;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2530  Schema:   QC_hit: No
# Query_time: 0.000206  Lock_time: 0.000136  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048178;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:29:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000623  Lock_time: 0.000292  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048182;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:29:41.278022' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:29:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2532  Schema:   QC_hit: No
# Query_time: 0.000250  Lock_time: 0.000175  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048185;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2532  Schema:   QC_hit: No
# Query_time: 0.000381  Lock_time: 0.000303  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048185;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:29:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000873  Lock_time: 0.000448  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048186;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:29:45.277765' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:29:47
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001909  Lock_time: 0.001589  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048187;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:29:46.277546' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:29:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2534  Schema:   QC_hit: No
# Query_time: 0.000372  Lock_time: 0.000226  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048188;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2534  Schema:   QC_hit: No
# Query_time: 0.000295  Lock_time: 0.000204  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048188;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:29:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001687  Lock_time: 0.000805  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048190;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:29:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000758  Lock_time: 0.000298  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048191;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:29:50.278261' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:29:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000532  Lock_time: 0.000237  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048194;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:29:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000456  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048195;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:29:54.27782' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2536  Schema:   QC_hit: No
# Query_time: 0.000411  Lock_time: 0.000278  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048195;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2536  Schema:   QC_hit: No
# Query_time: 0.000238  Lock_time: 0.000174  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048195;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:29:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001473  Lock_time: 0.001216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048197;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:29:56.28064' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:29:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2538  Schema:   QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000173  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048198;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2538  Schema:   QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000174  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048198;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000544  Lock_time: 0.000218  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048198;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:29:57.277974' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:29:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000808  Lock_time: 0.000409  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048199;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:29:58.278168' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:30:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001851  Lock_time: 0.001607  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048201;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:30:02
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002681  Lock_time: 0.001795  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048202;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:30:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000355  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048203;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:30:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001782  Lock_time: 0.001395  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048205;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:30:04.280532' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2540  Schema:   QC_hit: No
# Query_time: 0.000180  Lock_time: 0.000121  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048205;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2540  Schema:   QC_hit: No
# Query_time: 0.000142  Lock_time: 0.000091  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048205;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:30:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000828  Lock_time: 0.000283  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048206;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:30:05.279797' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:30:07
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000486  Lock_time: 0.000208  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048207;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:30:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2542  Schema:   QC_hit: No
# Query_time: 0.000334  Lock_time: 0.000173  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048208;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2542  Schema:   QC_hit: No
# Query_time: 0.000346  Lock_time: 0.000254  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048208;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001692  Lock_time: 0.001299  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048208;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:30:07.278051' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:30:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001549  Lock_time: 0.001185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048209;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:30:08.277889' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:30:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000396  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048210;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:30:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000829  Lock_time: 0.000360  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048212;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:30:11.280779' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:30:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000607  Lock_time: 0.000279  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048213;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:30:12.277769' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:30:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000890  Lock_time: 0.000441  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048214;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:30:13.277624' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:30:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000653  Lock_time: 0.000325  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048215;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:30:14.280691' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2544  Schema:   QC_hit: No
# Query_time: 0.000198  Lock_time: 0.000115  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048215;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2544  Schema:   QC_hit: No
# Query_time: 0.000693  Lock_time: 0.000637  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048215;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:30:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001327  Lock_time: 0.001079  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048216;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:30:15.279895' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:30:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000641  Lock_time: 0.000208  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048217;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:30:16.277795' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:30:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2546  Schema:   QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000229  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048218;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2546  Schema:   QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000154  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048218;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:30:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000354  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048219;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:30:18.280907' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:30:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000668  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048220;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:30:19.277762' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:30:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000574  Lock_time: 0.000239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048221;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:30:20.278234' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:30:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001782  Lock_time: 0.001381  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048222;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:30:21.277671' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:30:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001154  Lock_time: 0.000392  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048225;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2548  Schema:   QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000184  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048225;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2548  Schema:   QC_hit: No
# Query_time: 0.000674  Lock_time: 0.000565  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048225;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:30:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2550  Schema:   QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000177  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048228;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2550  Schema:   QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000180  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048228;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000595  Lock_time: 0.000266  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048228;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:30:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000401  Lock_time: 0.000159  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048231;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:30:30.280922' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:30:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000580  Lock_time: 0.000256  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048232;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:30:31.27777' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:30:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2552  Schema:   QC_hit: No
# Query_time: 0.000338  Lock_time: 0.000207  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048235;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2552  Schema:   QC_hit: No
# Query_time: 0.000199  Lock_time: 0.000126  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048235;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:30:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002133  Lock_time: 0.001820  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048237;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:30:36.280798' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:30:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2554  Schema:   QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000175  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048238;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2554  Schema:   QC_hit: No
# Query_time: 0.000298  Lock_time: 0.000202  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048238;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633048238;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:30:37.277777' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:30:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000449  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048239;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:30:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002017  Lock_time: 0.001251  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048240;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:30:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000744  Lock_time: 0.000279  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048241;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:30:40.280875' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:30:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000528  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048242;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:30:41.277626' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:30:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000483  Lock_time: 0.000155  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048243;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:30:42.28083' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:30:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000738  Lock_time: 0.000325  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048244;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:30:43.280746' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:30:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001190  Lock_time: 0.000309  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048245;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2556  Schema:   QC_hit: No
# Query_time: 0.000269  Lock_time: 0.000165  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048245;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2556  Schema:   QC_hit: No
# Query_time: 0.000258  Lock_time: 0.000190  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048245;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:30:47
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000565  Lock_time: 0.000203  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048247;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:30:46.277615' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:30:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2558  Schema:   QC_hit: No
# Query_time: 0.000417  Lock_time: 0.000263  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048248;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2558  Schema:   QC_hit: No
# Query_time: 0.000352  Lock_time: 0.000259  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048248;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:30:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000467  Lock_time: 0.000159  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048250;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:30:49.280836' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:30:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000609  Lock_time: 0.000231  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048251;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:30:50.277761' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:30:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000356  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048253;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:30:52.277678' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:30:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000767  Lock_time: 0.000330  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048254;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:30:53.277801' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:30:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2560  Schema:   QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000161  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048255;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2560  Schema:   QC_hit: No
# Query_time: 0.000162  Lock_time: 0.000109  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048255;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:30:56
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000494  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048256;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:30:55.280721' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:30:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2562  Schema:   QC_hit: No
# Query_time: 0.000233  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048258;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2562  Schema:   QC_hit: No
# Query_time: 0.000174  Lock_time: 0.000108  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048258;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:30:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000960  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048259;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:31:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001628  Lock_time: 0.001256  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048261;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:31:00.280405' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:31:02
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001284  Lock_time: 0.000951  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048262;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:31:01.280653' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:31:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001847  Lock_time: 0.001409  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048265;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:31:04.277611' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2564  Schema:   QC_hit: No
# Query_time: 0.000345  Lock_time: 0.000223  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048265;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2564  Schema:   QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000247  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048265;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:31:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000446  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048266;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:31:07
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000631  Lock_time: 0.000247  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048267;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:31:06.277666' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:31:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2566  Schema:   QC_hit: No
# Query_time: 0.000328  Lock_time: 0.000203  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048268;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2566  Schema:   QC_hit: No
# Query_time: 0.000310  Lock_time: 0.000212  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048268;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000604  Lock_time: 0.000237  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048268;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:31:07.281227' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:31:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000896  Lock_time: 0.000246  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048269;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:31:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000972  Lock_time: 0.000290  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048270;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:31:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000661  Lock_time: 0.000298  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048271;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:31:10.279995' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:31:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000734  Lock_time: 0.000260  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048272;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:31:11.277606' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:31:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000755  Lock_time: 0.000365  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048274;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:31:13.278242' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:31:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000643  Lock_time: 0.000315  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048275;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:31:14.281197' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2568  Schema:   QC_hit: No
# Query_time: 0.000380  Lock_time: 0.000278  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048275;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2568  Schema:   QC_hit: No
# Query_time: 0.000274  Lock_time: 0.000210  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048275;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:31:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633048276;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:31:15.28087' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:31:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000657  Lock_time: 0.000249  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048277;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:31:16.277614' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:31:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2570  Schema:   QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000164  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048278;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2570  Schema:   QC_hit: No
# Query_time: 0.000180  Lock_time: 0.000112  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048278;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000430  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048278;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:31:17.281236' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:31:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000703  Lock_time: 0.000382  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048279;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:31:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2572  Schema:   QC_hit: No
# Query_time: 0.000383  Lock_time: 0.000244  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048285;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2572  Schema:   QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000177  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048285;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:31:27
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000661  Lock_time: 0.000315  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048287;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:31:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2574  Schema:   QC_hit: No
# Query_time: 0.000339  Lock_time: 0.000245  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048288;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2574  Schema:   QC_hit: No
# Query_time: 0.000329  Lock_time: 0.000225  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048288;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:31:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001624  Lock_time: 0.001216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048289;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:31:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001960  Lock_time: 0.001538  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048290;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:31:29.277598' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:31:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001373  Lock_time: 0.000514  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048293;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:31:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000795  Lock_time: 0.000390  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048294;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:31:33.278112' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:31:35
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002684  Lock_time: 0.002352  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048295;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2576  Schema:   QC_hit: No
# Query_time: 0.000371  Lock_time: 0.000252  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048295;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2576  Schema:   QC_hit: No
# Query_time: 0.000265  Lock_time: 0.000197  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048295;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:31:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002095  Lock_time: 0.001610  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048296;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:31:35.277823' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:31:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000447  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048297;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:31:36.28068' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:31:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2578  Schema:   QC_hit: No
# Query_time: 0.000370  Lock_time: 0.000250  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048298;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2578  Schema:   QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000189  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048298;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000607  Lock_time: 0.000275  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048298;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:31:37.278288' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:31:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000875  Lock_time: 0.000463  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048299;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:31:38.278292' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:31:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000385  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048302;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:31:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001698  Lock_time: 0.001316  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048304;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:31:43.278949' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:31:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2580  Schema:   QC_hit: No
# Query_time: 0.000357  Lock_time: 0.000244  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048305;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2580  Schema:   QC_hit: No
# Query_time: 0.000230  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048305;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:31:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2582  Schema:   QC_hit: No
# Query_time: 0.000349  Lock_time: 0.000176  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048308;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2582  Schema:   QC_hit: No
# Query_time: 0.000193  Lock_time: 0.000113  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048308;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:31:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001641  Lock_time: 0.001318  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048309;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:31:48.278369' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:31:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000670  Lock_time: 0.000248  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048311;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:31:50.278022' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:31:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000635  Lock_time: 0.000382  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048312;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:31:51.277803' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:31:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000504  Lock_time: 0.000204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048313;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:31:52.277918' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:31:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2584  Schema:   QC_hit: No
# Query_time: 0.000294  Lock_time: 0.000175  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048315;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2584  Schema:   QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048315;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:31:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2586  Schema:   QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000113  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048318;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2586  Schema:   QC_hit: No
# Query_time: 0.000140  Lock_time: 0.000086  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048318;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:31:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000726  Lock_time: 0.000368  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048319;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:31:58.280693' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:32:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000422  Lock_time: 0.000213  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048320;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:32:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000626  Lock_time: 0.000260  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048321;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:32:00.280859' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:32:02
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000520  Lock_time: 0.000185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048322;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:32:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000499  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048323;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:32:02.279923' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:32:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633048324;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:32:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2588  Schema:   QC_hit: No
# Query_time: 0.000315  Lock_time: 0.000126  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048325;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2588  Schema:   QC_hit: No
# Query_time: 0.000174  Lock_time: 0.000109  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048325;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:32:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2590  Schema:   QC_hit: No
# Query_time: 0.000370  Lock_time: 0.000251  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048328;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2590  Schema:   QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000185  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048328;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000707  Lock_time: 0.000343  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048328;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:32:07.280952' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:32:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000527  Lock_time: 0.000243  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048329;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:32:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000746  Lock_time: 0.000306  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048331;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:32:10.280839' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:32:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000758  Lock_time: 0.000309  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048332;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:32:11.277779' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:32:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000507  Lock_time: 0.000287  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048333;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:32:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000349  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048334;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:32:13.280493' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:32:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000670  Lock_time: 0.000258  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048335;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:32:14.280563' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2592  Schema:   QC_hit: No
# Query_time: 0.000236  Lock_time: 0.000173  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048335;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2592  Schema:   QC_hit: No
# Query_time: 0.000158  Lock_time: 0.000106  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048335;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:32:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000529  Lock_time: 0.000221  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048337;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:32:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2594  Schema:   QC_hit: No
# Query_time: 0.000380  Lock_time: 0.000274  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048338;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2594  Schema:   QC_hit: No
# Query_time: 0.000322  Lock_time: 0.000244  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048338;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:32:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000843  Lock_time: 0.000421  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048339;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:32:18.277812' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:32:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001646  Lock_time: 0.001307  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048340;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:32:19.277437' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:32:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000686  Lock_time: 0.000262  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048341;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:32:20.281296' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:32:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000627  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048342;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:32:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000467  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048343;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:32:22.28077' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:32:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000595  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048344;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:32:23.280888' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:32:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2596  Schema:   QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000171  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048345;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2596  Schema:   QC_hit: No
# Query_time: 0.000196  Lock_time: 0.000099  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048345;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:32:27
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000421  Lock_time: 0.000155  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048347;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:32:26.280804' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:32:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2598  Schema:   QC_hit: No
# Query_time: 0.000385  Lock_time: 0.000216  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048348;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2598  Schema:   QC_hit: No
# Query_time: 0.000265  Lock_time: 0.000161  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048348;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:32:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001678  Lock_time: 0.001288  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048349;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:32:28.280893' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:32:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000459  Lock_time: 0.000216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048350;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:32:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001113  Lock_time: 0.000461  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048352;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:32:31.280776' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:32:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001279  Lock_time: 0.001076  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048353;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:32:32.28051' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:32:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2600  Schema:   QC_hit: No
# Query_time: 0.000358  Lock_time: 0.000241  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048355;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2600  Schema:   QC_hit: No
# Query_time: 0.000347  Lock_time: 0.000269  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048355;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:32:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000499  Lock_time: 0.000180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048356;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:32:35.281114' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:32:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2602  Schema:   QC_hit: No
# Query_time: 0.000373  Lock_time: 0.000265  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048358;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2602  Schema:   QC_hit: No
# Query_time: 0.000386  Lock_time: 0.000279  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048358;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000682  Lock_time: 0.000408  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048358;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:32:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000501  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048359;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:32:38.277651' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:32:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001814  Lock_time: 0.001356  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048361;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:32:40.277647' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:32:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000885  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048362;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:32:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000969  Lock_time: 0.000268  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048363;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:32:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000508  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048364;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:32:43.280884' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:32:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000501  Lock_time: 0.000207  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048365;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:32:44.277694' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2606  Schema:   QC_hit: No
# Query_time: 0.000383  Lock_time: 0.000270  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048365;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2606  Schema:   QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000197  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048365;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:32:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2608  Schema:   QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000137  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048368;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2608  Schema:   QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000190  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048368;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:32:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000707  Lock_time: 0.000294  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048371;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:32:50.281018' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:32:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000498  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048372;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:32:51.277476' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:32:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000904  Lock_time: 0.000351  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048374;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:32:53.280694' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:32:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000554  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048375;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:32:54.280818' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2610  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=1633048375;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2610  Schema:   QC_hit: No
# Query_time: 0.000383  Lock_time: 0.000311  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048375;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:32:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000821  Lock_time: 0.000221  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048377;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:32:56.280882' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:32:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2612  Schema:   QC_hit: No
# Query_time: 0.000384  Lock_time: 0.000245  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048378;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2612  Schema:   QC_hit: No
# Query_time: 0.000366  Lock_time: 0.000246  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048378;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001359  Lock_time: 0.001041  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048378;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:32:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001457  Lock_time: 0.001064  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048379;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:32:58.281023' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:33:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000584  Lock_time: 0.000248  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048380;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:32:59.277499' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:33:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000515  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048381;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:33:00.280756' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:33:02
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000630  Lock_time: 0.000224  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048382;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:33:01.280734' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:33:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001639  Lock_time: 0.001220  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048383;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:33:02.28068' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:33:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000590  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048384;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:33:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2614  Schema:   QC_hit: No
# Query_time: 0.000314  Lock_time: 0.000217  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048385;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2614  Schema:   QC_hit: No
# Query_time: 0.000192  Lock_time: 0.000130  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048385;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:33:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001034  Lock_time: 0.000396  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048386;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:33:05.280961' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:33:07
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001489  Lock_time: 0.000575  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048387;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:33:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2616  Schema:   QC_hit: No
# Query_time: 0.000532  Lock_time: 0.000373  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048388;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2616  Schema:   QC_hit: No
# Query_time: 0.000305  Lock_time: 0.000226  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048388;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:33:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000552  Lock_time: 0.000182  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048389;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:33:08.277854' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:33:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001920  Lock_time: 0.001446  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048391;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:33:10.280624' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:33:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001062  Lock_time: 0.000247  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048392;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:33:11.278245' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:33:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000519  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048393;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:33:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000633  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048394;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:33:13.280866' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:33:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000767  Lock_time: 0.000298  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048395;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:33:14.277631' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2618  Schema:   QC_hit: No
# Query_time: 0.000442  Lock_time: 0.000261  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048395;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2618  Schema:   QC_hit: No
# Query_time: 0.000252  Lock_time: 0.000161  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048395;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:33:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2620  Schema:   QC_hit: No
# Query_time: 0.000434  Lock_time: 0.000233  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048398;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2620  Schema:   QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000198  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048398;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:33:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000571  Lock_time: 0.000208  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048400;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:33:19.277915' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:33:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000429  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048403;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:33:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000389  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048404;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:33:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2622  Schema:   QC_hit: No
# Query_time: 0.000244  Lock_time: 0.000177  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048405;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2622  Schema:   QC_hit: No
# Query_time: 0.000166  Lock_time: 0.000108  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048405;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:33:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2624  Schema:   QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000170  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048408;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2624  Schema:   QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000123  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048408;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001263  Lock_time: 0.000318  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048408;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:33:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001830  Lock_time: 0.001472  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048410;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:33:29.277949' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:33:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000481  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048411;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:33:30.277412' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:33:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001565  Lock_time: 0.001259  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048413;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:33:32.280226' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:33:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001715  Lock_time: 0.001364  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048414;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:33:33.280386' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:33:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2626  Schema:   QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000110  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048415;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2626  Schema:   QC_hit: No
# Query_time: 0.000162  Lock_time: 0.000102  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048415;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:33:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000598  Lock_time: 0.000232  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048416;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:33:35.278136' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:33:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633048417;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:33:36.277642' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:33:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2628  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=1633048418;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2628  Schema:   QC_hit: No
# Query_time: 0.000233  Lock_time: 0.000164  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048418;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:33:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000364  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048420;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:33:39.278211' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:33:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000791  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048423;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:33:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2630  Schema:   QC_hit: No
# Query_time: 0.000479  Lock_time: 0.000345  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048425;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2630  Schema:   QC_hit: No
# Query_time: 0.000266  Lock_time: 0.000189  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048425;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:33:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633048426;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:33:45.277744' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:33:47
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000486  Lock_time: 0.000182  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048427;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:33:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2632  Schema:   QC_hit: No
# Query_time: 0.000364  Lock_time: 0.000209  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048428;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2632  Schema:   QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000172  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048428;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:33:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633048429;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:33:48.280667' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:33:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000700  Lock_time: 0.000217  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048430;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:33:49.277997' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:33:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000534  Lock_time: 0.000262  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048432;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:33:51.280439' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:33:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000304  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048433;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:33:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2634  Schema:   QC_hit: No
# Query_time: 0.000191  Lock_time: 0.000124  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048435;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2634  Schema:   QC_hit: No
# Query_time: 0.000164  Lock_time: 0.000103  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048435;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:33:56
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000401  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048436;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:33:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2636  Schema:   QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000173  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048438;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2636  Schema:   QC_hit: No
# Query_time: 0.000252  Lock_time: 0.000174  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048438;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000406  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048438;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:33:57.277976' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:34:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001808  Lock_time: 0.001451  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048440;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:33:59.280615' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:34:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001380  Lock_time: 0.001147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048441;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:34:00.280539' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:34:02
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000488  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048442;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:34:01.27761' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:34:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000406  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048443;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:34:02.280811' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:34:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001425  Lock_time: 0.001119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048445;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:34:04.280639' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2638  Schema:   QC_hit: No
# Query_time: 0.000197  Lock_time: 0.000120  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048445;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2638  Schema:   QC_hit: No
# Query_time: 0.000152  Lock_time: 0.000094  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048445;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:34:07
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000676  Lock_time: 0.000347  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048447;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:34:06.280774' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:34:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2640  Schema:   QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000197  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048448;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2640  Schema:   QC_hit: No
# Query_time: 0.000196  Lock_time: 0.000123  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048448;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000388  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048448;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:34:07.277533' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:34:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000500  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048449;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:34:08.280682' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:34:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000463  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048451;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:34:10.277807' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:34:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001578  Lock_time: 0.001265  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048452;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:34:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000461  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048453;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:34:12.280916' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:34:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000553  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048454;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:34:13.280897' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:34:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000569  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048455;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:34:14.277927' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2642  Schema:   QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048455;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2642  Schema:   QC_hit: No
# Query_time: 0.000611  Lock_time: 0.000520  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048455;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:34:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001805  Lock_time: 0.001526  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048457;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:34:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2644  Schema:   QC_hit: No
# Query_time: 0.000355  Lock_time: 0.000208  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048458;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2644  Schema:   QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000168  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048458;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000530  Lock_time: 0.000224  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048458;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:34:19
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000641  Lock_time: 0.000296  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048459;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:34:18.277821' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:34:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000723  Lock_time: 0.000329  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048460;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:34:19.280784' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:34:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000611  Lock_time: 0.000219  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048461;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:34:20.277718' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:34:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000521  Lock_time: 0.000202  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048462;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:34:21.280671' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:34:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000413  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048463;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:34:22.277539' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:34:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000654  Lock_time: 0.000361  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048465;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2646  Schema:   QC_hit: No
# Query_time: 0.000341  Lock_time: 0.000191  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048465;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2646  Schema:   QC_hit: No
# Query_time: 0.000257  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048465;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:34:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000781  Lock_time: 0.000311  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048466;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:34:25.277739' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:34:27
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002209  Lock_time: 0.001591  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048467;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:34:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2648  Schema:   QC_hit: No
# Query_time: 0.000316  Lock_time: 0.000172  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048468;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2648  Schema:   QC_hit: No
# Query_time: 0.000312  Lock_time: 0.000216  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048468;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002104  Lock_time: 0.001700  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048468;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:34:27.277691' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:34:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002101  Lock_time: 0.001688  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048469;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:34:28.279812' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:34:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000409  Lock_time: 0.000155  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048470;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:34:29.277531' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:34:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2650  Schema:   QC_hit: No
# Query_time: 0.000219  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048475;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2650  Schema:   QC_hit: No
# Query_time: 0.000228  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048475;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:34:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002517  Lock_time: 0.002007  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048476;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:34:35.277557' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:34:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000418  Lock_time: 0.000200  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048477;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:34:36.28061' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:34:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2652  Schema:   QC_hit: No
# Query_time: 0.000434  Lock_time: 0.000278  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048478;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2652  Schema:   QC_hit: No
# Query_time: 0.000345  Lock_time: 0.000264  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048478;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:34:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000707  Lock_time: 0.000306  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048479;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:34:38.277719' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:34:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000679  Lock_time: 0.000245  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048481;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:34:40.278323' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:34:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000715  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048483;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:34:42.27759' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:34:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000836  Lock_time: 0.000294  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048485;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:34:44.278219' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2654  Schema:   QC_hit: No
# Query_time: 0.000316  Lock_time: 0.000239  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048485;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2654  Schema:   QC_hit: No
# Query_time: 0.000174  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048485;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:34:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000791  Lock_time: 0.000416  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048486;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:34:45.278456' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:34:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2656  Schema:   QC_hit: No
# Query_time: 0.000377  Lock_time: 0.000285  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048488;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2656  Schema:   QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000193  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048488;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000457  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048488;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:34:47.27846' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:34:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001211  Lock_time: 0.000284  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048490;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:34:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001368  Lock_time: 0.000969  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048491;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:34:50.278127' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:34:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000737  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048492;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:34:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001142  Lock_time: 0.000795  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048493;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:34:52.278386' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:34:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001834  Lock_time: 0.001330  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048495;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:34:54.278227' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2660  Schema:   QC_hit: No
# Query_time: 0.000338  Lock_time: 0.000233  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048495;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2660  Schema:   QC_hit: No
# Query_time: 0.000303  Lock_time: 0.000229  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048495;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:34:56
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000646  Lock_time: 0.000308  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048496;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:34:55.280731' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:34:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000694  Lock_time: 0.000331  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048497;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:34:56.280767' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:34:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2664  Schema:   QC_hit: No
# Query_time: 0.000215  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048498;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2664  Schema:   QC_hit: No
# Query_time: 0.000169  Lock_time: 0.000119  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048498;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000530  Lock_time: 0.000216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048498;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:34:57.277706' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:34:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000375  Lock_time: 0.000167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048499;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:34:58.280827' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:35:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000917  Lock_time: 0.000273  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048504;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:35:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000593  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048505;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:35:04.280921' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2667  Schema:   QC_hit: No
# Query_time: 0.000253  Lock_time: 0.000172  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048505;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2667  Schema:   QC_hit: No
# Query_time: 0.000470  Lock_time: 0.000390  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048505;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:35:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2669  Schema:   QC_hit: No
# Query_time: 0.000265  Lock_time: 0.000173  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048508;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2669  Schema:   QC_hit: No
# Query_time: 0.000208  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048508;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:35:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001187  Lock_time: 0.000875  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048511;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:35:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2671  Schema:   QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000223  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048515;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2671  Schema:   QC_hit: No
# Query_time: 0.000183  Lock_time: 0.000117  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048515;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:35:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000798  Lock_time: 0.000330  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048516;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:35:15.277499' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:35:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000450  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048517;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:35:16.277652' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:35:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2673  Schema:   QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000199  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048518;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2673  Schema:   QC_hit: No
# Query_time: 0.000231  Lock_time: 0.000171  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048518;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000624  Lock_time: 0.000265  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048518;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:35:17.277924' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:35:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000350  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048521;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:35:20.277761' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:35:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001343  Lock_time: 0.001030  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048523;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:35:22.280825' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:35:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000500  Lock_time: 0.000155  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048524;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:35:23.278463' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:35:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000523  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048525;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:35:24.28118' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2675  Schema:   QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000196  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048525;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2675  Schema:   QC_hit: No
# Query_time: 0.000253  Lock_time: 0.000176  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048525;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:35:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001040  Lock_time: 0.000216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048526;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:35:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2677  Schema:   QC_hit: No
# Query_time: 0.000280  Lock_time: 0.000183  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048528;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2677  Schema:   QC_hit: No
# Query_time: 0.000284  Lock_time: 0.000213  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048528;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000502  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048528;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:35:27.28105' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:35:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000422  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048529;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:35:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000440  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048531;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:35:30.280752' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:35:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000411  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048532;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:35:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000500  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048533;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:35:32.277842' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:35:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2679  Schema:   QC_hit: No
# Query_time: 0.000190  Lock_time: 0.000111  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048535;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2679  Schema:   QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000177  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048535;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:35:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002205  Lock_time: 0.001925  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048537;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:35:36.27815' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:35:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2681  Schema:   QC_hit: No
# Query_time: 0.000381  Lock_time: 0.000258  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048538;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2681  Schema:   QC_hit: No
# Query_time: 0.000348  Lock_time: 0.000272  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048538;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000668  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048538;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:35:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000561  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048543;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:35:42.277539' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:35:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000599  Lock_time: 0.000270  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048545;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:35:44.277624' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2683  Schema:   QC_hit: No
# Query_time: 0.000345  Lock_time: 0.000212  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048545;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2683  Schema:   QC_hit: No
# Query_time: 0.000208  Lock_time: 0.000131  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048545;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:35:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001101  Lock_time: 0.000730  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048546;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:35:45.277778' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:35:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2685  Schema:   QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000155  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048548;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2685  Schema:   QC_hit: No
# Query_time: 0.000239  Lock_time: 0.000164  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048548;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000423  Lock_time: 0.000197  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048548;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:35:47.27789' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:35:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000607  Lock_time: 0.000235  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048549;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:35:48.277768' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:35:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001370  Lock_time: 0.001074  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048552;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:35:51.280583' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:35:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000599  Lock_time: 0.000252  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048554;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:35:53.277742' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:35:55
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2687  Schema:   QC_hit: No
# Query_time: 0.000351  Lock_time: 0.000248  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048555;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2687  Schema:   QC_hit: No
# Query_time: 0.000192  Lock_time: 0.000128  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048555;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:35:56
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  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=1633048556;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:35:55.277752' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:35:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000772  Lock_time: 0.000365  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048557;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:35:56.281141' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:35:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2689  Schema:   QC_hit: No
# Query_time: 0.000489  Lock_time: 0.000339  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048558;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2689  Schema:   QC_hit: No
# Query_time: 0.000307  Lock_time: 0.000230  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048558;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001182  Lock_time: 0.000313  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048558;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:36:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000380  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048561;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:36:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000722  Lock_time: 0.000427  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048563;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:36:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2691  Schema:   QC_hit: No
# Query_time: 0.000286  Lock_time: 0.000166  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048565;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2691  Schema:   QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000196  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048565;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:36:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000683  Lock_time: 0.000282  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048566;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:36:05.277741' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:36:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2693  Schema:   QC_hit: No
# Query_time: 0.000444  Lock_time: 0.000300  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048568;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2693  Schema:   QC_hit: No
# Query_time: 0.000219  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048568;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000852  Lock_time: 0.000479  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048568;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:36:07.277928' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:36:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000459  Lock_time: 0.000214  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048569;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:36:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000828  Lock_time: 0.000414  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048570;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:36:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000511  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048571;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:36:10.28089' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:36:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001328  Lock_time: 0.000912  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048574;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:36:13.280514' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:36:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001971  Lock_time: 0.001496  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048575;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:36:14.280659' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2695  Schema:   QC_hit: No
# Query_time: 0.000251  Lock_time: 0.000170  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048575;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2695  Schema:   QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000211  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048575;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:36:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000542  Lock_time: 0.000247  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048576;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:36:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000681  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048577;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:36:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2697  Schema:   QC_hit: No
# Query_time: 0.000459  Lock_time: 0.000276  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048578;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2697  Schema:   QC_hit: No
# Query_time: 0.000238  Lock_time: 0.000163  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048578;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:36:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000735  Lock_time: 0.000274  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048580;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:36:19.278368' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:36:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000643  Lock_time: 0.000155  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048584;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:36:23.277722' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:36:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2699  Schema:   QC_hit: No
# Query_time: 0.000455  Lock_time: 0.000300  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048585;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2699  Schema:   QC_hit: No
# Query_time: 0.000230  Lock_time: 0.000149  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048585;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:36:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000698  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048586;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:36:25.280612' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:36:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2701  Schema:   QC_hit: No
# Query_time: 0.000749  Lock_time: 0.000374  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048588;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2701  Schema:   QC_hit: No
# Query_time: 0.000269  Lock_time: 0.000175  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048588;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001905  Lock_time: 0.000400  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048588;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:36:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001385  Lock_time: 0.001081  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048590;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:36:29.28058' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:36:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000645  Lock_time: 0.000238  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048591;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:36:30.280999' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:36:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000768  Lock_time: 0.000255  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048593;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:36:32.278032' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:36:35
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000665  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048595;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:36:34.27803' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2703  Schema:   QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000170  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048595;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2703  Schema:   QC_hit: No
# Query_time: 0.000270  Lock_time: 0.000204  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048595;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:36:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001581  Lock_time: 0.001221  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048596;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:36:35.277613' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:36:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000475  Lock_time: 0.000231  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048597;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:36:36.280918' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:36:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2705  Schema:   QC_hit: No
# Query_time: 0.000431  Lock_time: 0.000244  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048598;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2705  Schema:   QC_hit: No
# Query_time: 0.000256  Lock_time: 0.000173  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048598;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001176  Lock_time: 0.000954  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048598;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:36:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001657  Lock_time: 0.001409  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048599;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:36:38.28062' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:36:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000671  Lock_time: 0.000255  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048601;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:36:40.280938' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:36:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000424  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048602;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:36:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001882  Lock_time: 0.001599  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048604;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:36:43.277813' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:36:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001423  Lock_time: 0.001108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048605;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2707  Schema:   QC_hit: No
# Query_time: 0.000238  Lock_time: 0.000165  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048605;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2707  Schema:   QC_hit: No
# Query_time: 0.000203  Lock_time: 0.000137  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048605;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:36:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000350  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048606;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:36:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2709  Schema:   QC_hit: No
# Query_time: 0.000602  Lock_time: 0.000387  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048608;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2709  Schema:   QC_hit: No
# Query_time: 0.000299  Lock_time: 0.000218  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048608;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:36:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001020  Lock_time: 0.000311  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048610;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:36:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000652  Lock_time: 0.000287  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048611;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:36:50.277969' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:36:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000391  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048613;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:36:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000879  Lock_time: 0.000212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048614;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:36:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000873  Lock_time: 0.000410  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048615;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:36:54.281063' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2711  Schema:   QC_hit: No
# Query_time: 0.000306  Lock_time: 0.000128  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048615;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2711  Schema:   QC_hit: No
# Query_time: 0.000175  Lock_time: 0.000111  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048615;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:36:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2713  Schema:   QC_hit: No
# Query_time: 0.000346  Lock_time: 0.000236  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048618;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2713  Schema:   QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000220  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048618;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:37:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000602  Lock_time: 0.000290  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048621;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:37:00.277562' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:37:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001493  Lock_time: 0.001175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048623;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:37:02.277751' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:37:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000363  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048624;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:37:03.280322' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:37:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001546  Lock_time: 0.001226  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048625;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:37:04.280603' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2715  Schema:   QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000136  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048625;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2715  Schema:   QC_hit: No
# Query_time: 0.000159  Lock_time: 0.000115  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048625;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:37:07
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000644  Lock_time: 0.000278  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048627;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:37:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2717  Schema:   QC_hit: No
# Query_time: 0.000377  Lock_time: 0.000219  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048628;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2717  Schema:   QC_hit: No
# Query_time: 0.000280  Lock_time: 0.000170  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048628;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001584  Lock_time: 0.001163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048628;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:37:07.277845' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:37:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001563  Lock_time: 0.001296  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048629;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:37:15
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2721  Schema:   QC_hit: No
# Query_time: 0.000305  Lock_time: 0.000193  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048635;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2721  Schema:   QC_hit: No
# Query_time: 0.000318  Lock_time: 0.000201  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048635;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:37:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001563  Lock_time: 0.001250  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048636;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:37:15.278055' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:37:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001352  Lock_time: 0.001049  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048637;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:37:16.2779' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:37:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2723  Schema:   QC_hit: No
# Query_time: 0.000317  Lock_time: 0.000177  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048638;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2723  Schema:   QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000155  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048638;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000631  Lock_time: 0.000287  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048638;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:37:17.277446' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:37:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000475  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048640;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:37:19.27751' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:37:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001003  Lock_time: 0.000271  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048641;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:37:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000664  Lock_time: 0.000300  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048642;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:37:21.280762' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:37:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001314  Lock_time: 0.001014  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048643;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:37:24
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000543  Lock_time: 0.000239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048644;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:37:25
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2725  Schema:   QC_hit: No
# Query_time: 0.000230  Lock_time: 0.000159  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048645;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2725  Schema:   QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000214  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048645;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:37:26
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000540  Lock_time: 0.000233  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048646;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:37:25.277816' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:37:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2727  Schema:   QC_hit: No
# Query_time: 0.000414  Lock_time: 0.000255  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048648;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2727  Schema:   QC_hit: No
# Query_time: 0.000244  Lock_time: 0.000170  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048648;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:37:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001580  Lock_time: 0.001147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048650;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:37:29.280662' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:37:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000594  Lock_time: 0.000245  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048651;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:37:30.277711' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:37:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000449  Lock_time: 0.000220  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048654;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:37:33.28022' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:37:35
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000727  Lock_time: 0.000260  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048655;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:37:34.280634' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2729  Schema:   QC_hit: No
# Query_time: 0.000438  Lock_time: 0.000302  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048655;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2729  Schema:   QC_hit: No
# Query_time: 0.000286  Lock_time: 0.000207  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048655;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:37:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000624  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048656;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:37:35.280864' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:37:37
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000581  Lock_time: 0.000347  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048657;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:37:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2731  Schema:   QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000172  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048658;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2731  Schema:   QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000196  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048658;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001409  Lock_time: 0.000931  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048658;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:37:37.280841' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:37:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000326  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048659;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:37:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000432  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048660;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:37:39.277474' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:37:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000521  Lock_time: 0.000182  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048661;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:37:40.280541' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:37:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000443  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048663;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:37:42.277473' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:37:45
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000559  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048665;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:37:44.277535' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2733  Schema:   QC_hit: No
# Query_time: 0.000329  Lock_time: 0.000181  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048665;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2733  Schema:   QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000179  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048665;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:37:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000609  Lock_time: 0.000307  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048666;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:37:45.280939' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:37:47
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000844  Lock_time: 0.000519  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048667;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:37:46.277741' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:37:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2735  Schema:   QC_hit: No
# Query_time: 0.000388  Lock_time: 0.000283  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048668;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2735  Schema:   QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000228  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048668;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:37:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000625  Lock_time: 0.000312  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048669;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:37:48.277922' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:37:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000660  Lock_time: 0.000310  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048671;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:37:50.277857' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:37:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000580  Lock_time: 0.000191  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048675;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:37:54.277636' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2737  Schema:   QC_hit: No
# Query_time: 0.000236  Lock_time: 0.000150  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048675;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2737  Schema:   QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000172  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048675;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:37:57
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000604  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048677;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:37:56.277668' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:37:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2739  Schema:   QC_hit: No
# Query_time: 0.000300  Lock_time: 0.000210  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048678;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2739  Schema:   QC_hit: No
# Query_time: 0.000347  Lock_time: 0.000246  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048678;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:37:59
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000732  Lock_time: 0.000319  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048679;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:37:58.277852' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:38:01
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001269  Lock_time: 0.000923  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048681;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:38:00.280276' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:38:02
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001343  Lock_time: 0.000938  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048682;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:38:01.280884' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:38:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000694  Lock_time: 0.000327  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048683;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:38:02.280559' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:38:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000823  Lock_time: 0.000378  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048684;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:38:03.280539' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:38:05
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2741  Schema:   QC_hit: No
# Query_time: 0.000284  Lock_time: 0.000174  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048685;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2741  Schema:   QC_hit: No
# Query_time: 0.000292  Lock_time: 0.000216  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048685;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:38:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001347  Lock_time: 0.001015  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048686;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:38:05.280522' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:38:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2743  Schema:   QC_hit: No
# Query_time: 0.000435  Lock_time: 0.000278  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048688;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2743  Schema:   QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000204  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048688;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:38:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000631  Lock_time: 0.000302  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048689;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:38:08.277622' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:38:10
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000790  Lock_time: 0.000410  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048690;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:38:09.280603' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:38:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000535  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048691;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:38:10.278223' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:38:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000656  Lock_time: 0.000249  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048692;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:38:11.277843' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:38:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000464  Lock_time: 0.000167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048693;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:38:12.280595' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:38:14
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002141  Lock_time: 0.001766  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048694;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:38:13.280177' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:38:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000564  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048695;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:38:14.281473' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2745  Schema:   QC_hit: No
# Query_time: 0.000334  Lock_time: 0.000244  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048695;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2745  Schema:   QC_hit: No
# Query_time: 0.000356  Lock_time: 0.000269  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048695;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:38:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000790  Lock_time: 0.000336  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048696;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:38:15.277703' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:38:17
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000598  Lock_time: 0.000249  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048697;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:38:16.277857' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:38:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2747  Schema:   QC_hit: No
# Query_time: 0.000583  Lock_time: 0.000389  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048698;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2747  Schema:   QC_hit: No
# Query_time: 0.000350  Lock_time: 0.000264  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048698;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002249  Lock_time: 0.001281  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048698;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:38:20
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001359  Lock_time: 0.000380  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048700;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:38:21
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000605  Lock_time: 0.000248  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048701;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:38:23
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000595  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048703;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:38:22.280779' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:38:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000389  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048705;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:38:24.280756' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2749  Schema:   QC_hit: No
# Query_time: 0.000426  Lock_time: 0.000307  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048705;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2749  Schema:   QC_hit: No
# Query_time: 0.000310  Lock_time: 0.000232  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048705;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:38:27
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000611  Lock_time: 0.000272  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048707;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:38:26.278271' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:38:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2751  Schema:   QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000251  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048708;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2751  Schema:   QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000199  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048708;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000448  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048708;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:38:27.280901' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:38:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000639  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048709;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:38:28.277755' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:38:30
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000419  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048710;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:38:29.280646' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:38:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001316  Lock_time: 0.001065  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048711;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:38:30.280514' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:38:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000491  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048712;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:38:31.277611' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:38:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000545  Lock_time: 0.000227  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048713;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:38:32.277651' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:38:35
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2753  Schema:   QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048715;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2753  Schema:   QC_hit: No
# Query_time: 0.000211  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048715;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:38:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000926  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048716;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:38:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2755  Schema:   QC_hit: No
# Query_time: 0.000325  Lock_time: 0.000239  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048718;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2755  Schema:   QC_hit: No
# Query_time: 0.000186  Lock_time: 0.000125  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048718;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000434  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048718;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:38:37.277606' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:38:40
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000609  Lock_time: 0.000231  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048720;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:38:39.281406' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:38:41
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000715  Lock_time: 0.000501  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048721;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:38:43
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000372  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048723;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:38:42.280855' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:38:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2757  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=1633048725;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2757  Schema:   QC_hit: No
# Query_time: 0.000219  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048725;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:38:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000667  Lock_time: 0.000280  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048726;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:38:45.280723' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:38:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2759  Schema:   QC_hit: No
# Query_time: 0.000376  Lock_time: 0.000251  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048728;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2759  Schema:   QC_hit: No
# Query_time: 0.000295  Lock_time: 0.000207  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048728;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000834  Lock_time: 0.000406  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048728;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:38:47.277463' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:38:49
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000732  Lock_time: 0.000287  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048729;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:38:48.280723' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:38:50
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000490  Lock_time: 0.000234  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048730;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:38:49.281839' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:38:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000599  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048731;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:38:50.277629' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:38:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000586  Lock_time: 0.000260  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048733;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:38:52.277761' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:38:54
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000819  Lock_time: 0.000447  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048734;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:38:53.277827' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:38:55
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000578  Lock_time: 0.000235  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048735;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:38:54.277818' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2761  Schema:   QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000136  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048735;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2761  Schema:   QC_hit: No
# Query_time: 0.000210  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048735;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:38:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2763  Schema:   QC_hit: No
# Query_time: 0.000344  Lock_time: 0.000171  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048738;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2763  Schema:   QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000137  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048738;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:39:00
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000858  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048740;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or 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: 211001  0:39:02
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001301  Lock_time: 0.000903  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048742;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:39:03
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001385  Lock_time: 0.001101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048743;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:39:02.277904' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:39:04
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000380  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048744;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:39:03.281184' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:39:05
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000533  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048745;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:39:04.277748' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2765  Schema:   QC_hit: No
# Query_time: 0.000244  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048745;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2765  Schema:   QC_hit: No
# Query_time: 0.000228  Lock_time: 0.000181  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048745;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:39:06
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000537  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048746;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:39:05.277439' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:39:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2767  Schema:   QC_hit: No
# Query_time: 0.000266  Lock_time: 0.000188  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048748;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2767  Schema:   QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000244  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048748;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001493  Lock_time: 0.001088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048748;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:39:07.280647' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:39:09
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001656  Lock_time: 0.001292  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048749;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:39:08.280569' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:39:11
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000544  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048751;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:39:10.280965' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:39:12
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000381  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048752;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:39:13
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000393  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048753;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:39:12.280435' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:39:15
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000602  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048755;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:39:14.280778' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2769  Schema:   QC_hit: No
# Query_time: 0.000409  Lock_time: 0.000267  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048755;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2769  Schema:   QC_hit: No
# Query_time: 0.000332  Lock_time: 0.000245  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048755;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:39:16
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000539  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048756;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:39:15.277688' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:39:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2771  Schema:   QC_hit: No
# Query_time: 0.000446  Lock_time: 0.000319  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048758;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2771  Schema:   QC_hit: No
# Query_time: 0.000322  Lock_time: 0.000236  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048758;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000476  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048758;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:39:17.281297' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:39:22
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000372  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048762;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:39:21.277429' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:39:25
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000368  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048765;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:39:24.28069' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2773  Schema:   QC_hit: No
# Query_time: 0.000322  Lock_time: 0.000218  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048765;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2773  Schema:   QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000165  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048765;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:39:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2775  Schema:   QC_hit: No
# Query_time: 0.000339  Lock_time: 0.000236  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048768;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2775  Schema:   QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000195  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048768;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:39:29
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000490  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048769;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:39:31
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001256  Lock_time: 0.001011  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048771;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:39:30.280375' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:39:32
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001721  Lock_time: 0.001272  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048772;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:39:31.280879' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:39:33
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000648  Lock_time: 0.000295  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048773;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:39:32.277704' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:39:34
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000407  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048774;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:39:33.280903' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:39:35
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000514  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048775;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:39:34.277471' order by MODIFIED_DATE ASC limit 1;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2777  Schema:   QC_hit: No
# Query_time: 0.000274  Lock_time: 0.000193  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048775;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2777  Schema:   QC_hit: No
# Query_time: 0.000194  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048775;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 211001  0:39:36
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000817  Lock_time: 0.000496  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048776;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:39:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2779  Schema:   QC_hit: No
# Query_time: 0.000455  Lock_time: 0.000300  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048778;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2779  Schema:   QC_hit: No
# Query_time: 0.000309  Lock_time: 0.000217  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048778;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000749  Lock_time: 0.000295  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048778;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:39:37.280888' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:39:39
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000535  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048779;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:39:42
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000532  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048782;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:39:41.278116' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:39:44
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001603  Lock_time: 0.001254  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048784;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:39:43.280334' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:39:45
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2781  Schema:   QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000172  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048785;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2781  Schema:   QC_hit: No
# Query_time: 0.000230  Lock_time: 0.000167  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048785;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 211001  0:39:46
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002160  Lock_time: 0.001588  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048786;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:39:45.280698' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:39:47
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000647  Lock_time: 0.000259  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048787;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:39:46.277705' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:39:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2783  Schema:   QC_hit: No
# Query_time: 0.000418  Lock_time: 0.000280  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1633048788;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 2783  Schema:   QC_hit: No
# Query_time: 0.000303  Lock_time: 0.000223  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1633048788;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000545  Lock_time: 0.000180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048788;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:39:47.277852' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:39:51
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000614  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048791;
select * from VID_JOB where    JOB_STATUS = '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: 211001  0:39:52
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000770  Lock_time: 0.000269  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048792;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:39:51.280569' order by MODIFIED_DATE ASC limit 1;
# Time: 211001  0:39:53
# User@Host: vidadmin[vidadmin] @  [10.242.1.88]
# Thread_id: 689  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001321  Lock_time: 0.000349  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1633048793;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-10-01 00:39:52.280638' order by MODIFIED_DATE ASC limit 1;