Results

By type

          mariadb 22:45:08.83 
mariadb 22:45:08.84 Welcome to the Bitnami mariadb-galera container
mariadb 22:45:08.85 Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-mariadb-galera
mariadb 22:45:08.86 Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-mariadb-galera/issues
mariadb 22:45:08.87 
mariadb 22:45:08.88 INFO  ==> ** Starting MariaDB setup **
mariadb 22:45:08.97 INFO  ==> Validating settings in MYSQL_*/MARIADB_* env vars
mariadb 22:45:09.16 INFO  ==> Initializing mariadb database
mariadb 22:45:09.19 DEBUG ==> Ensuring expected directories/files exist
mariadb 22:45:09.27 INFO  ==> Updating 'my.cnf' with custom configuration
mariadb 22:45:09.30 INFO  ==> Setting user option
mariadb 22:45:09.30 DEBUG ==> Setting user to 'my-user' in mariadb configuration file /opt/bitnami/mariadb/conf/my.cnf
mariadb 22:45:09.34 INFO  ==> Setting wsrep_node_name option
mariadb 22:45:09.35 DEBUG ==> Setting wsrep_node_name to 'dev-mariadb-galera-1' in mariadb configuration file /opt/bitnami/mariadb/conf/my.cnf
mariadb 22:45:09.37 INFO  ==> Setting wsrep_node_address option
mariadb 22:45:09.38 DEBUG ==> Setting wsrep_node_address to '10.242.196.200' in mariadb configuration file /opt/bitnami/mariadb/conf/my.cnf
mariadb 22:45:09.51 INFO  ==> Setting wsrep_cluster_address option
mariadb 22:45:09.53 DEBUG ==> Setting wsrep_cluster_address to 'gcomm://mariadb-galera-headless.onap.svc.cluster.local' in mariadb configuration file /opt/bitnami/mariadb/conf/my.cnf
mariadb 22:45:09.55 INFO  ==> Setting wsrep_sst_auth option
mariadb 22:45:09.56 DEBUG ==> Setting wsrep_sst_auth to 'mariabackup:AE39hEL5' in mariadb configuration file /opt/bitnami/mariadb/conf/my.cnf
mariadb 22:45:09.69 INFO  ==> ** MariaDB setup finished! **

mariadb 22:45:09.83 INFO  ==> ** Starting MariaDB **
mariadb 22:45:09.84 INFO  ==> Setting previous boot
2021-05-01 22:45:09 0 [Warning] WSREP: option --wsrep-causal-reads is deprecated
2021-05-01 22:45:09 0 [Warning] WSREP: --wsrep-causal-reads=ON takes precedence over --wsrep-sync-wait=0. WSREP_SYNC_WAIT_BEFORE_READ is on
2021-05-01 22:45:09 0 [Note] /opt/bitnami/mariadb/sbin/mysqld (mysqld 10.5.8-MariaDB-log) starting as process 1 ...
2021-05-01 22:45:09 0 [Note] WSREP: Loading provider /opt/bitnami/mariadb/lib/libgalera_smm.so initial position: 00000000-0000-0000-0000-000000000000:-1
2021-05-01 22:45:09 0 [Note] WSREP: wsrep_load(): loading provider library '/opt/bitnami/mariadb/lib/libgalera_smm.so'
2021-05-01 22:45:09 0 [Note] WSREP: wsrep_load(): Galera 4.7(rXXXX) by Codership Oy  loaded successfully.
2021-05-01 22:45:09 0 [Note] WSREP: CRC-32C: using 64-bit x86 acceleration.
2021-05-01 22:45:09 0 [Warning] WSREP: Could not open state file for reading: '/bitnami/mariadb/data//grastate.dat'
2021-05-01 22:45:09 0 [Note] WSREP: Found saved state: 00000000-0000-0000-0000-000000000000:-1, safe_to_bootstrap: 1
2021-05-01 22:45:09 0 [Note] WSREP: GCache DEBUG: opened preamble:
Version: 0
UUID: 00000000-0000-0000-0000-000000000000
Seqno: -1 - -1
Offset: -1
Synced: 0
2021-05-01 22:45:09 0 [Note] WSREP: Skipped GCache ring buffer recovery: could not determine history UUID.
2021-05-01 22:45:09 0 [Note] WSREP: Passing config to GCS: base_dir = /bitnami/mariadb/data/; base_host = 10.242.196.200; 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
2021-05-01 22:45:10 0 [Note] WSREP: Start replication
2021-05-01 22:45:10 0 [Note] WSREP: Connecting with bootstrap option: 0
2021-05-01 22:45:10 0 [Note] WSREP: Setting GCS initial position to 00000000-0000-0000-0000-000000000000:-1
2021-05-01 22:45:10 0 [Note] WSREP: protonet asio version 0
2021-05-01 22:45:10 0 [Note] WSREP: Using CRC-32C for message checksums.
2021-05-01 22:45:10 0 [Note] WSREP: backend: asio
2021-05-01 22:45:10 0 [Note] WSREP: gcomm thread scheduling priority set to other:0 
2021-05-01 22:45:10 0 [Warning] WSREP: access file(/bitnami/mariadb/data//gvwstate.dat) failed(No such file or directory)
2021-05-01 22:45:10 0 [Note] WSREP: restore pc from disk failed
2021-05-01 22:45:10 0 [Note] WSREP: GMCast version 0
2021-05-01 22:45:10 0 [Note] WSREP: (e23a787f-8305, 'tcp://0.0.0.0:4567') listening at tcp://0.0.0.0:4567
2021-05-01 22:45:10 0 [Note] WSREP: (e23a787f-8305, 'tcp://0.0.0.0:4567') multicast: , ttl: 1
2021-05-01 22:45:10 0 [Note] WSREP: EVS version 1
2021-05-01 22:45:10 0 [Note] WSREP: gcomm: connecting to group 'galera', peer 'mariadb-galera-headless.onap.svc.cluster.local:'
2021-05-01 22:45:10 0 [Note] WSREP: (e23a787f-8305, 'tcp://0.0.0.0:4567') connection established to bf5d3418-a369 tcp://10.242.121.204:4567
2021-05-01 22:45:10 0 [Note] WSREP: (e23a787f-8305, 'tcp://0.0.0.0:4567') turning message relay requesting on, nonlive peers: 
2021-05-01 22:45:10 0 [Note] WSREP: EVS version upgrade 0 -> 1
2021-05-01 22:45:10 0 [Note] WSREP: declaring bf5d3418-a369 at tcp://10.242.121.204:4567 stable
2021-05-01 22:45:10 0 [Note] WSREP: PC protocol upgrade 0 -> 1
2021-05-01 22:45:10 0 [Note] WSREP: Node bf5d3418-a369 state prim
2021-05-01 22:45:10 0 [Note] WSREP: view(view_id(PRIM,bf5d3418-a369,2) memb {
	bf5d3418-a369,0
	e23a787f-8305,0
} joined {
} left {
} partitioned {
})
2021-05-01 22:45:10 0 [Note] WSREP: save pc into disk
2021-05-01 22:45:11 0 [Note] WSREP: gcomm: connected
2021-05-01 22:45:11 0 [Note] WSREP: Changing maximum packet size to 64500, resulting msg size: 32636
2021-05-01 22:45:11 0 [Note] WSREP: Shifting CLOSED -> OPEN (TO: 0)
2021-05-01 22:45:11 0 [Note] WSREP: Opened channel 'galera'
2021-05-01 22:45:11 0 [Note] WSREP: New COMPONENT: primary = yes, bootstrap = no, my_idx = 1, memb_num = 2
2021-05-01 22:45:11 1 [Note] WSREP: Starting rollbacker thread 1
2021-05-01 22:45:11 0 [Note] WSREP: STATE EXCHANGE: Waiting for state UUID.
2021-05-01 22:45:11 0 [Note] WSREP: STATE EXCHANGE: sent state msg: e289b370-aace-11eb-a208-3e57e7a0cec0
2021-05-01 22:45:11 0 [Note] WSREP: STATE EXCHANGE: got state msg: e289b370-aace-11eb-a208-3e57e7a0cec0 from 0 (dev-mariadb-galera-0)
2021-05-01 22:45:11 2 [Note] WSREP: Starting applier thread 2
2021-05-01 22:45:11 0 [Note] WSREP: STATE EXCHANGE: got state msg: e289b370-aace-11eb-a208-3e57e7a0cec0 from 1 (dev-mariadb-galera-1)
2021-05-01 22:45:11 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 = b9a22aeb-aace-11eb-bc23-3f0945b2f604
2021-05-01 22:45:11 0 [Note] WSREP: Flow-control interval: [23, 23]
2021-05-01 22:45:11 0 [Note] WSREP: Shifting OPEN -> PRIMARY (TO: 14)
2021-05-01 22:45:11 2 [Note] WSREP: ####### processing CC 14, local, ordered
2021-05-01 22:45:11 2 [Note] WSREP: Process first view: b9a22aeb-aace-11eb-bc23-3f0945b2f604 my uuid: e23a787f-aace-11eb-8305-0254ece5cfbc
2021-05-01 22:45:11 2 [Note] WSREP: Server dev-mariadb-galera-1 connected to cluster at position b9a22aeb-aace-11eb-bc23-3f0945b2f604:14 with ID e23a787f-aace-11eb-8305-0254ece5cfbc
2021-05-01 22:45:11 2 [Note] WSREP: Server status change disconnected -> connected
2021-05-01 22:45:11 2 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-05-01 22:45:11 2 [Note] WSREP: ####### My UUID: e23a787f-aace-11eb-8305-0254ece5cfbc
2021-05-01 22:45:11 2 [Note] WSREP: Cert index reset to 00000000-0000-0000-0000-000000000000:-1 (proto: 10), state transfer needed: yes
2021-05-01 22:45:11 0 [Note] WSREP: Service thread queue flushed.
2021-05-01 22:45:11 2 [Note] WSREP: ####### Assign initial position for certification: 00000000-0000-0000-0000-000000000000:-1, protocol version: -1
2021-05-01 22:45:11 2 [Note] WSREP: State transfer required: 
	Group state: b9a22aeb-aace-11eb-bc23-3f0945b2f604:14
	Local state: 00000000-0000-0000-0000-000000000000:-1
2021-05-01 22:45:11 2 [Note] WSREP: Server status change connected -> joiner
2021-05-01 22:45:11 2 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-05-01 22:45:11 0 [Note] WSREP: Running: 'wsrep_sst_mariabackup --role 'joiner' --address '10.242.196.200' --datadir '/bitnami/mariadb/data/' --defaults-file '/opt/bitnami/mariadb/conf/my.cnf' --parent '1' --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-05-01 22:45:11 0 [Note] WSREP: Joiner monitor thread started to monitor
WSREP_SST: [INFO] Streaming with xbstream (20210501 22:45:11.625)
WSREP_SST: [INFO] Using socat as streamer (20210501 22:45:11.635)
WSREP_SST: [INFO] Evaluating timeout -k 310 300 socat -u TCP-LISTEN:4444,reuseaddr stdio | mbstream -x; RC=( ${PIPESTATUS[@]} ) (20210501 22:45:11.740)
2021-05-01 22:45:11 2 [Note] WSREP: Prepared SST request: mariabackup|10.242.196.200:4444/xtrabackup_sst//1
2021-05-01 22:45:11 2 [Note] WSREP: ####### IST uuid:00000000-0000-0000-0000-000000000000 f: 0, l: 14, STRv: 3
2021-05-01 22:45:11 2 [Note] WSREP: IST receiver addr using tcp://10.242.196.200:4568
2021-05-01 22:45:11 2 [Note] WSREP: Prepared IST receiver for 0-14, listening at: tcp://10.242.196.200:4568
2021-05-01 22:45:11 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-05-01 22:45:11 0 [Note] WSREP: Shifting PRIMARY -> JOINER (TO: 14)
2021-05-01 22:45:11 2 [Note] WSREP: Requesting state transfer: success, donor: 0
2021-05-01 22:45:11 2 [Note] WSREP: Resetting GCache seqno map due to different histories.
2021-05-01 22:45:11 2 [Note] WSREP: GCache history reset: 00000000-0000-0000-0000-000000000000:0 -> b9a22aeb-aace-11eb-bc23-3f0945b2f604:14
WSREP_SST: [INFO] Proceeding with SST (20210501 22:45:12.713)
WSREP_SST: [INFO] Evaluating socat -u TCP-LISTEN:4444,reuseaddr stdio | mbstream -x; RC=( ${PIPESTATUS[@]} ) (20210501 22:45:12.716)
WSREP_SST: [INFO] Cleaning the existing datadir and innodb-data/log directories (20210501 22:45:12.722)
WSREP_SST: [INFO] Waiting for SST streaming to complete! (20210501 22:45:12.783)
2021-05-01 22:45:13 0 [Note] WSREP: (e23a787f-8305, 'tcp://0.0.0.0:4567') turning message relay requesting off
2021-05-01 22:45:25 0 [Note] WSREP: 0.0 (dev-mariadb-galera-0): State transfer to 1.0 (dev-mariadb-galera-1) complete.
2021-05-01 22:45:25 0 [Note] WSREP: Member 0.0 (dev-mariadb-galera-0) synced with group.
WSREP_SST: [INFO] Preparing the backup at /bitnami/mariadb/data//.sst (20210501 22:45:25.550)
WSREP_SST: [INFO] Evaluating /opt/bitnami/mariadb//bin/mariabackup --prepare --no-version-check  $INNOEXTRA --target-dir=${DATA} --mysqld-args $WSREP_SST_OPT_MYSQLD &> /bitnami/mariadb/data//mariabackup.prepare.log (20210501 22:45:25.558)
WSREP_SST: [INFO] Moving the backup to /bitnami/mariadb/data/ (20210501 22:45:27.198)
WSREP_SST: [INFO] Evaluating /opt/bitnami/mariadb//bin/mariabackup --defaults-file=/opt/bitnami/mariadb/conf/my.cnf   --move-back --no-version-check   --move-back --force-non-empty-directories --target-dir=${DATA} &> /bitnami/mariadb/data//mariabackup.move.log (20210501 22:45:27.206)
WSREP_SST: [INFO] Move successful, removing /bitnami/mariadb/data//.sst (20210501 22:45:27.545)
WSREP_SST: [INFO] Galera co-ords from recovery: b9a22aeb-aace-11eb-bc23-3f0945b2f604:14 (20210501 22:45:27.585)
WSREP_SST: [INFO] Total time on joiner: 0 seconds (20210501 22:45:27.596)
WSREP_SST: [INFO] Removing the sst_in_progress file (20210501 22:45:27.605)
2021-05-01 22:45:27 3 [Note] WSREP: SST received
2021-05-01 22:45:27 3 [Note] WSREP: Server status change joiner -> initializing
2021-05-01 22:45:27 3 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-05-01 22:45:27 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-05-01 22:45:27 0 [Warning] The parameter innodb_log_files_in_group is deprecated and has no effect.
2021-05-01 22:45:27 0 [Note] InnoDB: Using Linux native AIO
2021-05-01 22:45:27 0 [Note] InnoDB: Uses event mutexes
2021-05-01 22:45:27 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2021-05-01 22:45:27 0 [Note] InnoDB: Number of pools: 1
2021-05-01 22:45:27 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
2021-05-01 22:45:27 0 [Note] mysqld: O_TMPFILE is not supported on /opt/bitnami/mariadb/tmp (disabling future attempts)
2021-05-01 22:45:27 0 [Note] InnoDB: Initializing buffer pool, total size = 2147483648, chunk size = 134217728
2021-05-01 22:45:27 0 [Note] InnoDB: Completed initialization of buffer pool
2021-05-01 22:45:27 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2021-05-01 22:45:27 0 [Note] InnoDB: Setting log file ./ib_logfile101 size to 134217728 bytes
2021-05-01 22:45:27 0 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0
2021-05-01 22:45:27 0 [Note] InnoDB: New log file created, LSN=76920
2021-05-01 22:45:28 0 [Note] InnoDB: 128 rollback segments are active.
2021-05-01 22:45:28 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2021-05-01 22:45:28 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2021-05-01 22:45:28 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2021-05-01 22:45:28 0 [Note] InnoDB: 10.5.8 started; log sequence number 0; transaction id 70
2021-05-01 22:45:28 0 [Note] Plugin 'FEEDBACK' is disabled.
2021-05-01 22:45:28 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-05-01 22:45:28 0 [Note] Recovering after a crash using mysql-bin
2021-05-01 22:45:28 0 [Note] Starting crash recovery...
2021-05-01 22:45:28 0 [Note] Crash recovery finished.
2021-05-01 22:45:28 0 [Note] InnoDB: Buffer pool(s) load completed at 210501 22:45:28
2021-05-01 22:45:28 0 [Note] Server socket created on IP: '0.0.0.0'.
2021-05-01 22:45:28 0 [Warning] 'proxies_priv' entry '@% root@dev-mariadb-galera-0' ignored in --skip-name-resolve mode.
2021-05-01 22:45:28 0 [Note] WSREP: wsrep_init_schema_and_SR 0x0
2021-05-01 22:45:28 0 [Note] WSREP: Server initialized
2021-05-01 22:45:28 0 [Note] WSREP: Server status change initializing -> initialized
2021-05-01 22:45:28 0 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-05-01 22:45:28 3 [Note] WSREP: Server status change initialized -> joined
2021-05-01 22:45:28 3 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-05-01 22:45:28 3 [Note] WSREP: Recovered position from storage: b9a22aeb-aace-11eb-bc23-3f0945b2f604:14
2021-05-01 22:45:28 6 [Note] WSREP: Starting applier thread 6
2021-05-01 22:45:28 7 [Note] WSREP: Starting applier thread 7
2021-05-01 22:45:28 8 [Note] WSREP: Starting applier thread 8
2021-05-01 22:45:28 3 [Note] WSREP: Recovered view from SST:
  id: b9a22aeb-aace-11eb-bc23-3f0945b2f604: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: 1
  members(2):
	0: bf5d3418-aace-11eb-a369-db4f5f192d9b, dev-mariadb-galera-0
	1: e23a787f-aace-11eb-8305-0254ece5cfbc, dev-mariadb-galera-1

2021-05-01 22:45:28 3 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-05-01 22:45:28 10 [Note] WSREP: Recovered cluster id b9a22aeb-aace-11eb-bc23-3f0945b2f604
2021-05-01 22:45:28 0 [Note] Reading of all Master_info entries succeeded
2021-05-01 22:45:28 0 [Note] Added new Master_info '' to hash table
2021-05-01 22:45:28 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-05-01 22:45:28 3 [Note] WSREP: SST received: b9a22aeb-aace-11eb-bc23-3f0945b2f604:14
2021-05-01 22:45:28 2 [Note] WSREP: Installed new state from SST: b9a22aeb-aace-11eb-bc23-3f0945b2f604:14
2021-05-01 22:45:28 0 [Note] WSREP: Joiner monitor thread ended with total time 17 sec
2021-05-01 22:45:28 2 [Note] WSREP: Cert. index preload up to 14
2021-05-01 22:45:28 0 [Note] WSREP: ####### IST applying starts with 15
2021-05-01 22:45:28 0 [Note] WSREP: ####### IST current seqno initialized to 14
2021-05-01 22:45:28 0 [Note] WSREP: Receiving IST...  0.0% (0/1 events) complete.
2021-05-01 22:45:28 0 [Note] WSREP: IST preload starting at 14
2021-05-01 22:45:28 0 [Note] WSREP: REPL Protocols: 10 (5)
2021-05-01 22:45:28 0 [Note] WSREP: Service thread queue flushed.
2021-05-01 22:45:28 0 [Note] WSREP: ####### Assign initial position for certification: b9a22aeb-aace-11eb-bc23-3f0945b2f604:13, protocol version: 5
2021-05-01 22:45:28 0 [Note] WSREP: REPL Protocols: 10 (5)
2021-05-01 22:45:28 0 [Note] WSREP: ####### Adjusting cert position: 13 -> 14
2021-05-01 22:45:28 0 [Note] WSREP: Service thread queue flushed.
2021-05-01 22:45:28 0 [Note] WSREP: Lowest cert index boundary for CC from preload: 14
2021-05-01 22:45:28 0 [Note] WSREP: Min available from gcache for CC from preload: 14
2021-05-01 22:45:28 0 [Note] WSREP: Receiving IST...100.0% (1/1 events) complete.
2021-05-01 22:45:28 2 [Note] WSREP: IST received: b9a22aeb-aace-11eb-bc23-3f0945b2f604:14
2021-05-01 22:45:28 2 [Note] WSREP: Lowest cert index boundary for CC from sst: 14
2021-05-01 22:45:28 2 [Note] WSREP: Min available from gcache for CC from sst: 14
2021-05-01 22:45:28 0 [Note] WSREP: 1.0 (dev-mariadb-galera-1): State transfer from 0.0 (dev-mariadb-galera-0) complete.
2021-05-01 22:45:28 0 [Note] WSREP: Shifting JOINER -> JOINED (TO: 14)
2021-05-01 22:45:28 0 [Note] WSREP: Member 1.0 (dev-mariadb-galera-1) synced with group.
2021-05-01 22:45:28 0 [Note] WSREP: Shifting JOINED -> SYNCED (TO: 14)
2021-05-01 22:45:28 2 [Note] WSREP: Server dev-mariadb-galera-1 synced with group
2021-05-01 22:45:28 2 [Note] WSREP: Server status change joined -> synced
2021-05-01 22:45:28 2 [Note] WSREP: Synchronized with group, ready for connections
2021-05-01 22:45:28 2 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
# Time: 210501 22:45:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 12  Schema:   QC_hit: No
# Query_time: 0.000274  Lock_time: 0.000188  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909128;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 12  Schema:   QC_hit: No
# Query_time: 0.000168  Lock_time: 0.000114  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909128;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:45:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 13  Schema:   QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000168  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909138;
SELECT
		  page_size, compress_ops, 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.000162  Lock_time: 0.000106  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909138;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:45:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 14  Schema:   QC_hit: No
# Query_time: 0.000186  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909148;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 14  Schema:   QC_hit: No
# Query_time: 0.000149  Lock_time: 0.000100  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909148;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:45:53
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 15  Schema:   QC_hit: No
# Query_time: 0.000195  Lock_time: 0.000123  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909153;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 15  Schema:   QC_hit: No
# Query_time: 0.000119  Lock_time: 0.000073  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909153;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:45:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 16  Schema:   QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000206  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909158;
SELECT
		  page_size, compress_ops, 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.000219  Lock_time: 0.000173  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909158;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:46:03
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 17  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=1619909163;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 17  Schema:   QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909163;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:46:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 18  Schema:   QC_hit: No
# Query_time: 0.000265  Lock_time: 0.000177  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909168;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 18  Schema:   QC_hit: No
# Query_time: 0.000515  Lock_time: 0.000453  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909168;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:46:13
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 20  Schema:   QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000162  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909173;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 20  Schema:   QC_hit: No
# Query_time: 0.000127  Lock_time: 0.000089  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909173;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:46:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 21  Schema:   QC_hit: No
# Query_time: 0.000168  Lock_time: 0.000111  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909178;
SELECT
                  page_size, buffer_pool_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.000180  Lock_time: 0.000123  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909178;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:46:23
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 23  Schema:   QC_hit: No
# Query_time: 0.000214  Lock_time: 0.000166  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909183;
SELECT
                  page_size, buffer_pool_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.000176  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909183;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:46:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 24  Schema:   QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000166  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909188;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 24  Schema:   QC_hit: No
# Query_time: 0.000326  Lock_time: 0.000271  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909188;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:46:33
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 26  Schema:   QC_hit: No
# Query_time: 0.000357  Lock_time: 0.000241  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909193;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 26  Schema:   QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000175  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909193;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:46:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 27  Schema:   QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909198;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 27  Schema:   QC_hit: No
# Query_time: 0.000189  Lock_time: 0.000125  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909198;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:46:43
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 29  Schema:   QC_hit: No
# Query_time: 0.000187  Lock_time: 0.000124  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909203;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 29  Schema:   QC_hit: No
# Query_time: 0.000117  Lock_time: 0.000080  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909203;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2021-05-01 22:46:45 0 [Note] WSREP: (e23a787f-8305, 'tcp://0.0.0.0:4567') turning message relay requesting on, nonlive peers: tcp://10.242.49.30:4567 
2021-05-01 22:46:45 0 [Note] WSREP: (e23a787f-8305, 'tcp://0.0.0.0:4567') connection established to 1adf2953-ba26 tcp://10.242.49.30:4567
2021-05-01 22:46:45 0 [Note] WSREP: declaring 1adf2953-ba26 at tcp://10.242.49.30:4567 stable
2021-05-01 22:46:45 0 [Note] WSREP: declaring bf5d3418-a369 at tcp://10.242.121.204:4567 stable
2021-05-01 22:46:45 0 [Note] WSREP: Node bf5d3418-a369 state prim
2021-05-01 22:46:45 0 [Note] WSREP: view(view_id(PRIM,1adf2953-ba26,3) memb {
	1adf2953-ba26,0
	bf5d3418-a369,0
	e23a787f-8305,0
} joined {
} left {
} partitioned {
})
2021-05-01 22:46:45 0 [Note] WSREP: save pc into disk
2021-05-01 22:46:45 0 [Note] WSREP: New COMPONENT: primary = yes, bootstrap = no, my_idx = 2, memb_num = 3
2021-05-01 22:46:45 0 [Note] WSREP: STATE EXCHANGE: Waiting for state UUID.
2021-05-01 22:46:45 0 [Note] WSREP: STATE EXCHANGE: sent state msg: 1b2c88df-aacf-11eb-8c67-5289ad4e6a7a
2021-05-01 22:46:45 0 [Note] WSREP: STATE EXCHANGE: got state msg: 1b2c88df-aacf-11eb-8c67-5289ad4e6a7a from 0 (dev-mariadb-galera-2)
2021-05-01 22:46:45 0 [Note] WSREP: STATE EXCHANGE: got state msg: 1b2c88df-aacf-11eb-8c67-5289ad4e6a7a from 1 (dev-mariadb-galera-0)
2021-05-01 22:46:45 0 [Note] WSREP: STATE EXCHANGE: got state msg: 1b2c88df-aacf-11eb-8c67-5289ad4e6a7a from 2 (dev-mariadb-galera-1)
2021-05-01 22:46:45 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 = b9a22aeb-aace-11eb-bc23-3f0945b2f604
2021-05-01 22:46:45 0 [Note] WSREP: Flow-control interval: [28, 28]
2021-05-01 22:46:45 2 [Note] WSREP: ####### processing CC 15, local, ordered
2021-05-01 22:46:45 2 [Note] WSREP: ####### My UUID: e23a787f-aace-11eb-8305-0254ece5cfbc
2021-05-01 22:46:45 2 [Note] WSREP: Skipping cert index reset
2021-05-01 22:46:45 2 [Note] WSREP: REPL Protocols: 10 (5)
2021-05-01 22:46:45 2 [Note] WSREP: ####### Adjusting cert position: 14 -> 15
2021-05-01 22:46:45 0 [Note] WSREP: Service thread queue flushed.
2021-05-01 22:46:45 2 [Note] WSREP: ================================================
View:
  id: b9a22aeb-aace-11eb-bc23-3f0945b2f604: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: 2
  members(3):
	0: 1adf2953-aacf-11eb-ba26-e2fe6e40145e, dev-mariadb-galera-2
	1: bf5d3418-aace-11eb-a369-db4f5f192d9b, dev-mariadb-galera-0
	2: e23a787f-aace-11eb-8305-0254ece5cfbc, dev-mariadb-galera-1
=================================================
2021-05-01 22:46:45 2 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
2021-05-01 22:46:45 2 [Note] WSREP: Lowest cert index boundary for CC from group: 15
2021-05-01 22:46:45 2 [Note] WSREP: Min available from gcache for CC from group: 14
2021-05-01 22:46:46 0 [Note] WSREP: Member 0.0 (dev-mariadb-galera-2) requested state transfer from '*any*'. Selected 1.0 (dev-mariadb-galera-0)(SYNCED) as donor.
# Time: 210501 22:46:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 30  Schema:   QC_hit: No
# Query_time: 0.000167  Lock_time: 0.000116  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909208;
SELECT
		  page_size, compress_ops, 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.000142  Lock_time: 0.000100  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909208;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2021-05-01 22:46:49 0 [Note] WSREP: (e23a787f-8305, 'tcp://0.0.0.0:4567') turning message relay requesting off
# Time: 210501 22:46:53
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 32  Schema:   QC_hit: No
# Query_time: 0.000251  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909213;
SELECT
		  page_size, compress_ops, 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.000587  Lock_time: 0.000503  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909213;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:46:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 33  Schema:   QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000178  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909218;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 33  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=1619909218;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2021-05-01 22:46:59 0 [Note] WSREP: 1.0 (dev-mariadb-galera-0): State transfer to 0.0 (dev-mariadb-galera-2) complete.
2021-05-01 22:46:59 0 [Note] WSREP: Member 1.0 (dev-mariadb-galera-0) synced with group.
2021-05-01 22:47:02 0 [Note] WSREP: 0.0 (dev-mariadb-galera-2): State transfer from 1.0 (dev-mariadb-galera-0) complete.
2021-05-01 22:47:02 0 [Note] WSREP: Member 0.0 (dev-mariadb-galera-2) synced with group.
# Time: 210501 22:47:03
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 35  Schema:   QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000194  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909223;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 35  Schema:   QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000186  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909223;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:47:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 36  Schema:   QC_hit: No
# Query_time: 0.000464  Lock_time: 0.000282  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909228;
SELECT
		  page_size, compress_ops, 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.000335  Lock_time: 0.000211  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909228;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:47:13
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 38  Schema:   QC_hit: No
# Query_time: 0.000181  Lock_time: 0.000117  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909233;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 38  Schema:   QC_hit: No
# Query_time: 0.000147  Lock_time: 0.000088  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909233;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:47:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 39  Schema:   QC_hit: No
# Query_time: 0.000162  Lock_time: 0.000094  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909238;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 39  Schema:   QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909238;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:47:23
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 41  Schema:   QC_hit: No
# Query_time: 0.000252  Lock_time: 0.000173  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909243;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 41  Schema:   QC_hit: No
# Query_time: 0.000374  Lock_time: 0.000303  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909243;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:47:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 42  Schema:   QC_hit: No
# Query_time: 0.000286  Lock_time: 0.000188  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909248;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 42  Schema:   QC_hit: No
# Query_time: 0.000194  Lock_time: 0.000124  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909248;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
2021-05-01 22:47:28 43 [Warning] Access denied for user 'rene'@'10.242.121.207' (using password: YES)
# Time: 210501 22:47:33
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 45  Schema:   QC_hit: No
# Query_time: 0.000215  Lock_time: 0.000167  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909253;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 45  Schema:   QC_hit: No
# Query_time: 0.000116  Lock_time: 0.000079  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909253;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:47:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 46  Schema:   QC_hit: No
# Query_time: 0.000182  Lock_time: 0.000128  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909258;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 46  Schema:   QC_hit: No
# Query_time: 0.000126  Lock_time: 0.000084  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909258;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:47:43
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 49  Schema:   QC_hit: No
# Query_time: 0.000156  Lock_time: 0.000105  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909263;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 49  Schema:   QC_hit: No
# Query_time: 0.000149  Lock_time: 0.000084  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909263;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:47:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 50  Schema:   QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909268;
SELECT
		  page_size, compress_ops, 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.000281  Lock_time: 0.000191  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909268;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:47:53
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 53  Schema:   QC_hit: No
# Query_time: 0.000189  Lock_time: 0.000120  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909273;
SELECT
		  page_size, compress_ops, 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.000113  Lock_time: 0.000076  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909273;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:47:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 54  Schema:   QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909278;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 54  Schema:   QC_hit: No
# Query_time: 0.000148  Lock_time: 0.000103  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909278;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:48:03
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 57  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=1619909283;
SELECT
                  page_size, buffer_pool_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.000125  Lock_time: 0.000090  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909283;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:48:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 58  Schema:   QC_hit: No
# Query_time: 0.000278  Lock_time: 0.000199  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909288;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 58  Schema:   QC_hit: No
# Query_time: 0.000108  Lock_time: 0.000070  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909288;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:48:13
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 61  Schema:   QC_hit: No
# Query_time: 0.000138  Lock_time: 0.000088  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909293;
SELECT
		  page_size, compress_ops, 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.000095  Lock_time: 0.000059  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909293;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:48:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 63  Schema:   QC_hit: No
# Query_time: 0.000169  Lock_time: 0.000095  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909298;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 63  Schema:   QC_hit: No
# Query_time: 0.000136  Lock_time: 0.000082  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909298;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:48:23
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 66  Schema:   QC_hit: No
# Query_time: 0.000167  Lock_time: 0.000101  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909303;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 66  Schema:   QC_hit: No
# Query_time: 0.000123  Lock_time: 0.000084  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909303;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:48:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 67  Schema:   QC_hit: No
# Query_time: 0.000242  Lock_time: 0.000162  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909308;
SELECT
		  page_size, compress_ops, 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.000435  Lock_time: 0.000388  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909308;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:48:33
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 70  Schema:   QC_hit: No
# Query_time: 0.000154  Lock_time: 0.000104  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909313;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 70  Schema:   QC_hit: No
# Query_time: 0.000102  Lock_time: 0.000063  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909313;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:48:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 71  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=1619909318;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 71  Schema:   QC_hit: No
# Query_time: 0.000369  Lock_time: 0.000246  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909318;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:48:43
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 74  Schema:   QC_hit: No
# Query_time: 0.000241  Lock_time: 0.000157  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909323;
SELECT
		  page_size, compress_ops, 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.000253  Lock_time: 0.000161  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909323;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:48:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 75  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=1619909328;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 75  Schema:   QC_hit: No
# Query_time: 0.000148  Lock_time: 0.000097  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909328;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:48:53
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 78  Schema:   QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000136  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909333;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 78  Schema:   QC_hit: No
# Query_time: 0.000504  Lock_time: 0.000426  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909333;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:48:55
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.007793  Lock_time: 0.001199  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
use etsicatalog;
SET timestamp=1619909335;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_migrations';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000749  Lock_time: 0.000147  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909335;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_migrations';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000551  Lock_time: 0.000130  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909335;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_migrations';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000619  Lock_time: 0.000138  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909335;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_migrations';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.005479  Lock_time: 0.000172  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909335;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_content_type';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000663  Lock_time: 0.000153  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909335;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_content_type';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000648  Lock_time: 0.000108  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909335;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_content_type';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000685  Lock_time: 0.000143  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909335;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_content_type';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.006237  Lock_time: 0.000187  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909335;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_permission';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000765  Lock_time: 0.000175  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909335;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_permission';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000783  Lock_time: 0.000131  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909335;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_permission';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000778  Lock_time: 0.000202  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909335;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_permission';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.005974  Lock_time: 0.000170  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909335;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_group';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000691  Lock_time: 0.000152  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909335;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_group';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.006277  Lock_time: 0.000183  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909335;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_group_permissions';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000771  Lock_time: 0.000187  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909335;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_group_permissions';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000788  Lock_time: 0.000124  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909335;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_group_permissions';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.005593  Lock_time: 0.000164  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909335;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000618  Lock_time: 0.000138  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909335;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000563  Lock_time: 0.000134  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909335;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000607  Lock_time: 0.000124  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909335;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000687  Lock_time: 0.000155  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909335;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000744  Lock_time: 0.000137  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909335;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000584  Lock_time: 0.000105  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909335;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000673  Lock_time: 0.000123  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909335;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000661  Lock_time: 0.000128  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909335;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000529  Lock_time: 0.000098  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909335;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000599  Lock_time: 0.000127  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909335;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.006574  Lock_time: 0.000172  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909335;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user_groups';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000652  Lock_time: 0.000140  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909335;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user_groups';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000590  Lock_time: 0.000121  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909335;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user_groups';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.005385  Lock_time: 0.000178  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909335;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user_user_permissions';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000689  Lock_time: 0.000167  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909335;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user_user_permissions';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000573  Lock_time: 0.000122  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909335;
SELECT engine FROM information_schema.tables WHERE table_name = 'auth_user_user_permissions';
# Time: 210501 22:48:56
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.006967  Lock_time: 0.000274  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_admin_log';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000743  Lock_time: 0.000193  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_admin_log';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000661  Lock_time: 0.000108  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_admin_log';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000560  Lock_time: 0.000138  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_admin_log';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000576  Lock_time: 0.000121  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_admin_log';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000560  Lock_time: 0.000122  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_admin_log';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000499  Lock_time: 0.000119  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_admin_log';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000581  Lock_time: 0.000149  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_admin_log';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.006576  Lock_time: 0.000259  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000676  Lock_time: 0.000205  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000630  Lock_time: 0.000137  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000606  Lock_time: 0.000110  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000664  Lock_time: 0.000140  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000625  Lock_time: 0.000106  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000679  Lock_time: 0.000126  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000560  Lock_time: 0.000126  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000829  Lock_time: 0.000149  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000622  Lock_time: 0.000116  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000691  Lock_time: 0.000130  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.006063  Lock_time: 0.000313  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB_STATUS';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.001914  Lock_time: 0.001346  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB_STATUS';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000781  Lock_time: 0.000203  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB_STATUS';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000831  Lock_time: 0.000245  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB_STATUS';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000674  Lock_time: 0.000140  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB_STATUS';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000751  Lock_time: 0.000146  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB_STATUS';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000704  Lock_time: 0.000126  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB_STATUS';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000681  Lock_time: 0.000118  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_JOB_STATUS';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.006152  Lock_time: 0.000196  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000706  Lock_time: 0.000155  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000545  Lock_time: 0.000106  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000567  Lock_time: 0.000105  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000618  Lock_time: 0.000122  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000618  Lock_time: 0.000145  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000712  Lock_time: 0.000151  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000834  Lock_time: 0.000159  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000678  Lock_time: 0.000099  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000561  Lock_time: 0.000070  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000543  Lock_time: 0.000071  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000591  Lock_time: 0.000086  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000614  Lock_time: 0.000074  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000580  Lock_time: 0.000072  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000546  Lock_time: 0.000072  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000524  Lock_time: 0.000063  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000642  Lock_time: 0.000069  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000537  Lock_time: 0.000068  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000540  Lock_time: 0.000071  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000645  Lock_time: 0.000075  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000521  Lock_time: 0.000066  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000639  Lock_time: 0.000069  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000627  Lock_time: 0.000069  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000623  Lock_time: 0.000070  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSDM_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.005591  Lock_time: 0.000244  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.001150  Lock_time: 0.000282  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  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=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000643  Lock_time: 0.000157  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000586  Lock_time: 0.000125  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000554  Lock_time: 0.000127  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000576  Lock_time: 0.000092  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000615  Lock_time: 0.000138  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000894  Lock_time: 0.000230  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000666  Lock_time: 0.000125  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.001430  Lock_time: 0.000766  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000693  Lock_time: 0.000094  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000659  Lock_time: 0.000098  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000589  Lock_time: 0.000085  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000674  Lock_time: 0.000129  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.001035  Lock_time: 0.000226  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000847  Lock_time: 0.000156  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_NSPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.007511  Lock_time: 0.000222  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000874  Lock_time: 0.000173  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000923  Lock_time: 0.000165  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000824  Lock_time: 0.000149  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000890  Lock_time: 0.000165  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000844  Lock_time: 0.000152  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000733  Lock_time: 0.000161  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000779  Lock_time: 0.000162  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000771  Lock_time: 0.000141  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000631  Lock_time: 0.000098  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: rene[rene] @  [10.242.121.207]
# Thread_id: 80  Schema: nbi  QC_hit: No
# Query_time: 0.006901  Lock_time: 0.000187  Rows_sent: 0  Rows_examined: 80
# Rows_affected: 0  Bytes_sent: 92
use nbi;
SET timestamp=1619909336;
select table_name from information_schema.TABLES where table_type='SEQUENCE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000651  Lock_time: 0.000108  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
use etsicatalog;
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000663  Lock_time: 0.000110  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000978  Lock_time: 0.000293  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.001556  Lock_time: 0.000967  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000964  Lock_time: 0.000433  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.001783  Lock_time: 0.000237  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_PNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.006283  Lock_time: 0.000149  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000519  Lock_time: 0.000110  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000580  Lock_time: 0.000104  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000599  Lock_time: 0.000110  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000630  Lock_time: 0.000119  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000550  Lock_time: 0.000093  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000586  Lock_time: 0.000126  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000709  Lock_time: 0.000169  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000631  Lock_time: 0.000106  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000679  Lock_time: 0.000161  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000648  Lock_time: 0.000124  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000620  Lock_time: 0.000116  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000604  Lock_time: 0.000118  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000581  Lock_time: 0.000106  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000586  Lock_time: 0.000119  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000704  Lock_time: 0.000154  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000566  Lock_time: 0.000079  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909336;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SERVICEPACKAGE';
# Time: 210501 22:48:57
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.006269  Lock_time: 0.000134  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909337;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SOFTWAREIMAGEMODEL';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000594  Lock_time: 0.000127  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909337;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SOFTWAREIMAGEMODEL';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000716  Lock_time: 0.000123  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909337;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SOFTWAREIMAGEMODEL';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.001237  Lock_time: 0.000118  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909337;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SOFTWAREIMAGEMODEL';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000895  Lock_time: 0.000183  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909337;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SOFTWAREIMAGEMODEL';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.001101  Lock_time: 0.000194  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909337;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SOFTWAREIMAGEMODEL';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.001007  Lock_time: 0.000177  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909337;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SOFTWAREIMAGEMODEL';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000871  Lock_time: 0.000162  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909337;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SOFTWAREIMAGEMODEL';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.001048  Lock_time: 0.000226  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909337;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SOFTWAREIMAGEMODEL';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000940  Lock_time: 0.000190  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909337;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_SOFTWAREIMAGEMODEL';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.011521  Lock_time: 0.000270  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909337;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000818  Lock_time: 0.000264  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909337;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000569  Lock_time: 0.000117  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909337;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000610  Lock_time: 0.000142  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909337;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000648  Lock_time: 0.000102  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909337;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000688  Lock_time: 0.000107  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909337;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000962  Lock_time: 0.000149  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909337;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000612  Lock_time: 0.000104  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909337;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000665  Lock_time: 0.000110  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909337;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000685  Lock_time: 0.000116  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909337;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000565  Lock_time: 0.000099  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909337;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000643  Lock_time: 0.000109  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909337;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000579  Lock_time: 0.000098  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909337;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000567  Lock_time: 0.000098  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909337;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000520  Lock_time: 0.000095  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909337;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000655  Lock_time: 0.000105  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909337;
SELECT engine FROM information_schema.tables WHERE table_name = 'CATALOG_VNFPACKAGE';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.006080  Lock_time: 0.000217  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909337;
SELECT engine FROM information_schema.tables WHERE table_name = 'VNF_PKG_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000663  Lock_time: 0.000145  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909337;
SELECT engine FROM information_schema.tables WHERE table_name = 'VNF_PKG_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000758  Lock_time: 0.000166  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909337;
SELECT engine FROM information_schema.tables WHERE table_name = 'VNF_PKG_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000705  Lock_time: 0.000120  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909337;
SELECT engine FROM information_schema.tables WHERE table_name = 'VNF_PKG_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000745  Lock_time: 0.000114  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909337;
SELECT engine FROM information_schema.tables WHERE table_name = 'VNF_PKG_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000546  Lock_time: 0.000098  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909337;
SELECT engine FROM information_schema.tables WHERE table_name = 'VNF_PKG_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000645  Lock_time: 0.000113  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909337;
SELECT engine FROM information_schema.tables WHERE table_name = 'VNF_PKG_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000614  Lock_time: 0.000099  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909337;
SELECT engine FROM information_schema.tables WHERE table_name = 'VNF_PKG_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000643  Lock_time: 0.000102  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909337;
SELECT engine FROM information_schema.tables WHERE table_name = 'VNF_PKG_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000567  Lock_time: 0.000103  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909337;
SELECT engine FROM information_schema.tables WHERE table_name = 'VNF_PKG_SUBSCRIPTION';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.005869  Lock_time: 0.000176  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909337;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_session';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.002637  Lock_time: 0.002010  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909337;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_session';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000786  Lock_time: 0.000206  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 102
SET timestamp=1619909337;
SELECT engine FROM information_schema.tables WHERE table_name = 'django_session';
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.002148  Lock_time: 0.002013  Rows_sent: 16  Rows_examined: 16
# Rows_affected: 0  Bytes_sent: 791
SET timestamp=1619909337;
SELECT `django_migrations`.`app`, `django_migrations`.`name` FROM `django_migrations`;
# User@Host: etsicatalog[etsicatalog] @  [10.242.98.211]
# Thread_id: 79  Schema: etsicatalog  QC_hit: No
# Query_time: 0.000589  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 15
# Rows_affected: 0  Bytes_sent: 203
SET timestamp=1619909337;
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 (33, 36, 39, 42, 45, 21, 24, 27, 30) ORDER BY `django_content_type`.`app_label` ASC, `django_content_type`.`model` ASC, `auth_permission`.`codename` ASC;
# Time: 210501 22:48:58
# User@Host: rene[rene] @  [10.242.121.207]
# Thread_id: 80  Schema: nbi  QC_hit: No
# Query_time: 0.009987  Lock_time: 0.000244  Rows_sent: 0  Rows_examined: 80
# Rows_affected: 0  Bytes_sent: 92
use nbi;
SET timestamp=1619909338;
select table_name from information_schema.TABLES where table_type='SEQUENCE';
# User@Host: rene[rene] @  [10.242.121.207]
# Thread_id: 80  Schema: nbi  QC_hit: No
# Query_time: 0.000711  Lock_time: 0.000239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 514
SET timestamp=1619909338;
SELECT TABLE_SCHEMA TABLE_CAT, NULL  TABLE_SCHEM,  TABLE_NAME, IF(TABLE_TYPE='BASE TABLE', '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 = 'nbi') AND (TABLE_NAME LIKE '%') AND TABLE_TYPE IN ('BASE TABLE','VIEW') ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: rene[rene] @  [10.242.121.207]
# Thread_id: 80  Schema: nbi  QC_hit: No
# Query_time: 0.001304  Lock_time: 0.000344  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1247
SET timestamp=1619909338;
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 (TABLE_SCHEMA = 'nbi') AND (1 = 1) AND (COLUMN_NAME LIKE '%') ORDER BY TABLE_CAT, TABLE_SCHEM, TABLE_NAME, ORDINAL_POSITION;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 83  Schema:   QC_hit: No
# Query_time: 0.000276  Lock_time: 0.000178  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909338;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 83  Schema:   QC_hit: No
# Query_time: 0.000144  Lock_time: 0.000089  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909338;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:49:03
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 86  Schema:   QC_hit: No
# Query_time: 0.000207  Lock_time: 0.000139  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909343;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 86  Schema:   QC_hit: No
# Query_time: 0.000199  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909343;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:49:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 87  Schema:   QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000165  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909348;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 87  Schema:   QC_hit: No
# Query_time: 0.000142  Lock_time: 0.000087  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909348;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:49:13
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 90  Schema:   QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909353;
SELECT
		  page_size, compress_ops, 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.000138  Lock_time: 0.000087  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909353;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:49:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 91  Schema:   QC_hit: No
# Query_time: 0.000183  Lock_time: 0.000108  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909358;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 91  Schema:   QC_hit: No
# Query_time: 0.000124  Lock_time: 0.000081  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909358;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:49:23
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 94  Schema:   QC_hit: No
# Query_time: 0.000156  Lock_time: 0.000092  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909363;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 94  Schema:   QC_hit: No
# Query_time: 0.000178  Lock_time: 0.000108  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909363;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:49:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 95  Schema:   QC_hit: No
# Query_time: 0.000307  Lock_time: 0.000210  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909368;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 95  Schema:   QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909368;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:49:33
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 98  Schema:   QC_hit: No
# Query_time: 0.000321  Lock_time: 0.000211  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909373;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 98  Schema:   QC_hit: No
# Query_time: 0.000231  Lock_time: 0.000168  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909373;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:49:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 99  Schema:   QC_hit: No
# Query_time: 0.000215  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909378;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 99  Schema:   QC_hit: No
# Query_time: 0.000211  Lock_time: 0.000157  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909378;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:49:43
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 102  Schema:   QC_hit: No
# Query_time: 0.000141  Lock_time: 0.000091  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909383;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 102  Schema:   QC_hit: No
# Query_time: 0.000111  Lock_time: 0.000070  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909383;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:49:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 103  Schema:   QC_hit: No
# Query_time: 0.000167  Lock_time: 0.000112  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909388;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 103  Schema:   QC_hit: No
# Query_time: 0.000125  Lock_time: 0.000080  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909388;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:49:53
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 106  Schema:   QC_hit: No
# Query_time: 0.000186  Lock_time: 0.000118  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909393;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 106  Schema:   QC_hit: No
# Query_time: 0.000178  Lock_time: 0.000128  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909393;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:49:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 107  Schema:   QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000173  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909398;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 107  Schema:   QC_hit: No
# Query_time: 0.000194  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909398;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:50:03
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 110  Schema:   QC_hit: No
# Query_time: 0.000195  Lock_time: 0.000127  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909403;
SELECT
		  page_size, compress_ops, 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.000144  Lock_time: 0.000098  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909403;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:50:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 111  Schema:   QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909408;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 111  Schema:   QC_hit: No
# Query_time: 0.000200  Lock_time: 0.000130  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909408;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:50:13
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 114  Schema:   QC_hit: No
# Query_time: 0.000210  Lock_time: 0.000117  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909413;
SELECT
		  page_size, compress_ops, 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.000265  Lock_time: 0.000210  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909413;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:50:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 115  Schema:   QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000162  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909418;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 115  Schema:   QC_hit: No
# Query_time: 0.000125  Lock_time: 0.000086  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909418;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:50:23
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 118  Schema:   QC_hit: No
# Query_time: 0.001797  Lock_time: 0.001674  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909423;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 118  Schema:   QC_hit: No
# Query_time: 0.001414  Lock_time: 0.001364  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909423;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:50:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 119  Schema:   QC_hit: No
# Query_time: 0.000463  Lock_time: 0.000322  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909428;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 119  Schema:   QC_hit: No
# Query_time: 0.000192  Lock_time: 0.000118  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909428;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:50:33
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 122  Schema:   QC_hit: No
# Query_time: 0.000164  Lock_time: 0.000082  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909433;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 122  Schema:   QC_hit: No
# Query_time: 0.000201  Lock_time: 0.000113  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909433;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:50:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 126  Schema:   QC_hit: No
# Query_time: 0.000188  Lock_time: 0.000112  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909438;
SELECT
		  page_size, compress_ops, 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.000098  Lock_time: 0.000061  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909438;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:50:43
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 129  Schema:   QC_hit: No
# Query_time: 0.000196  Lock_time: 0.000105  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909443;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 129  Schema:   QC_hit: No
# Query_time: 0.000133  Lock_time: 0.000078  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909443;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:50:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 130  Schema:   QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000150  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909448;
SELECT
		  page_size, compress_ops, 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.000175  Lock_time: 0.000102  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909448;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:50:53
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 132  Schema:   QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000132  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909453;
SELECT
		  page_size, compress_ops, 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.000251  Lock_time: 0.000174  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909453;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2021-05-01 22:50:55 134 [Warning] 'proxies_priv' entry '@% root@dev-mariadb-galera-0' ignored in --skip-name-resolve mode.
# Time: 210501 22:50:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 136  Schema:   QC_hit: No
# Query_time: 0.010914  Lock_time: 0.010820  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909458;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 136  Schema:   QC_hit: No
# Query_time: 0.000173  Lock_time: 0.000126  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909458;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:51:03
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 174  Schema:   QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000191  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909463;
SELECT
		  page_size, compress_ops, 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.000245  Lock_time: 0.000165  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909463;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:51:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 175  Schema:   QC_hit: No
# Query_time: 0.000154  Lock_time: 0.000089  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909468;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 175  Schema:   QC_hit: No
# Query_time: 0.000242  Lock_time: 0.000157  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909468;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:51:11
# User@Host: rene[rene] @  [10.242.121.207]
# Thread_id: 80  Schema: nbi  QC_hit: No
# Query_time: 0.002781  Lock_time: 0.002436  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 505
SET timestamp=1619909471;
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 '';
# Time: 210501 22:51:13
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 179  Schema:   QC_hit: No
# Query_time: 0.005740  Lock_time: 0.005621  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909473;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 179  Schema:   QC_hit: No
# Query_time: 0.000131  Lock_time: 0.000090  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909473;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:51:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 181  Schema:   QC_hit: No
# Query_time: 0.000409  Lock_time: 0.000253  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909478;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 181  Schema:   QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000243  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909478;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:51:23
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 190  Schema:   QC_hit: No
# Query_time: 0.000403  Lock_time: 0.000297  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909483;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 190  Schema:   QC_hit: No
# Query_time: 0.000209  Lock_time: 0.000151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909483;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:51:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 191  Schema:   QC_hit: No
# Query_time: 0.000165  Lock_time: 0.000098  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909488;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 191  Schema:   QC_hit: No
# Query_time: 0.000229  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909488;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:51:33
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 194  Schema:   QC_hit: No
# Query_time: 0.000181  Lock_time: 0.000105  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909493;
SELECT
		  page_size, compress_ops, 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.000102  Lock_time: 0.000061  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909493;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:51:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 195  Schema:   QC_hit: No
# Query_time: 0.000196  Lock_time: 0.000124  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909498;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 195  Schema:   QC_hit: No
# Query_time: 0.000127  Lock_time: 0.000090  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909498;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:51:43
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 198  Schema:   QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000164  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909503;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 198  Schema:   QC_hit: No
# Query_time: 0.000161  Lock_time: 0.000105  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909503;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:51:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 199  Schema:   QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000155  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909508;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 199  Schema:   QC_hit: No
# Query_time: 0.000178  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909508;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:51:53
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 202  Schema:   QC_hit: No
# Query_time: 0.001552  Lock_time: 0.001461  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909513;
SELECT
		  page_size, compress_ops, 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.000163  Lock_time: 0.000119  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909513;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:51:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 203  Schema:   QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000126  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909518;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 203  Schema:   QC_hit: No
# Query_time: 0.000236  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909518;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:52:03
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 206  Schema:   QC_hit: No
# Query_time: 0.000230  Lock_time: 0.000123  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909523;
SELECT
		  page_size, compress_ops, 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.000177  Lock_time: 0.000124  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909523;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:52:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 207  Schema:   QC_hit: No
# Query_time: 0.000199  Lock_time: 0.000104  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909528;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 207  Schema:   QC_hit: No
# Query_time: 0.000117  Lock_time: 0.000081  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909528;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:52:13
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 210  Schema:   QC_hit: No
# Query_time: 0.000149  Lock_time: 0.000099  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909533;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 210  Schema:   QC_hit: No
# Query_time: 0.001130  Lock_time: 0.001022  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909533;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:52:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 211  Schema:   QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000167  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909538;
SELECT
		  page_size, compress_ops, 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.000148  Lock_time: 0.000109  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909538;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:52:23
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 214  Schema:   QC_hit: No
# Query_time: 0.000155  Lock_time: 0.000104  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909543;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 214  Schema:   QC_hit: No
# Query_time: 0.000091  Lock_time: 0.000054  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909543;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:52:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 215  Schema:   QC_hit: No
# Query_time: 0.000194  Lock_time: 0.000107  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909548;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 215  Schema:   QC_hit: No
# Query_time: 0.000160  Lock_time: 0.000096  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909548;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:52:33
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 218  Schema:   QC_hit: No
# Query_time: 0.000185  Lock_time: 0.000115  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909553;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 218  Schema:   QC_hit: No
# Query_time: 0.002159  Lock_time: 0.002004  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909553;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:52:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 219  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=1619909558;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 219  Schema:   QC_hit: No
# Query_time: 0.000374  Lock_time: 0.000331  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909558;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:52:43
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 222  Schema:   QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909563;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 222  Schema:   QC_hit: No
# Query_time: 0.000146  Lock_time: 0.000091  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909563;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:52:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 223  Schema:   QC_hit: No
# Query_time: 0.000266  Lock_time: 0.000176  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909568;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 223  Schema:   QC_hit: No
# Query_time: 0.000134  Lock_time: 0.000092  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909568;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:52:53
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 226  Schema:   QC_hit: No
# Query_time: 0.000187  Lock_time: 0.000130  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909573;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 226  Schema:   QC_hit: No
# Query_time: 0.000192  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909573;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:52:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 227  Schema:   QC_hit: No
# Query_time: 0.000207  Lock_time: 0.000137  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909578;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 227  Schema:   QC_hit: No
# Query_time: 0.000178  Lock_time: 0.000136  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909578;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:53:03
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 230  Schema:   QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909583;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 230  Schema:   QC_hit: No
# Query_time: 0.000205  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909583;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:53:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 231  Schema:   QC_hit: No
# Query_time: 0.000251  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909588;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 231  Schema:   QC_hit: No
# Query_time: 0.000563  Lock_time: 0.000424  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909588;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:53:13
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 234  Schema:   QC_hit: No
# Query_time: 0.000529  Lock_time: 0.000474  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909593;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 234  Schema:   QC_hit: No
# Query_time: 0.000138  Lock_time: 0.000095  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909593;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:53:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 235  Schema:   QC_hit: No
# Query_time: 0.000195  Lock_time: 0.000132  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909598;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 235  Schema:   QC_hit: No
# Query_time: 0.000095  Lock_time: 0.000060  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909598;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:53:23
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 238  Schema:   QC_hit: No
# Query_time: 0.000314  Lock_time: 0.000195  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909603;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 238  Schema:   QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000198  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909603;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:53:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 239  Schema:   QC_hit: No
# Query_time: 0.000284  Lock_time: 0.000206  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909608;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 239  Schema:   QC_hit: No
# Query_time: 0.000135  Lock_time: 0.000090  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909608;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:53:33
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 242  Schema:   QC_hit: No
# Query_time: 0.000172  Lock_time: 0.000103  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909613;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 242  Schema:   QC_hit: No
# Query_time: 0.000334  Lock_time: 0.000221  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909613;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:53:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 243  Schema:   QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000149  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909618;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 243  Schema:   QC_hit: No
# Query_time: 0.000143  Lock_time: 0.000092  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909618;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:53:43
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 246  Schema:   QC_hit: No
# Query_time: 0.000162  Lock_time: 0.000114  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909623;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 246  Schema:   QC_hit: No
# Query_time: 0.000093  Lock_time: 0.000057  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909623;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:53:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 247  Schema:   QC_hit: No
# Query_time: 0.000636  Lock_time: 0.000333  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909628;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 247  Schema:   QC_hit: No
# Query_time: 0.000141  Lock_time: 0.000088  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909628;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:53:53
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 250  Schema:   QC_hit: No
# Query_time: 0.000340  Lock_time: 0.000224  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909633;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 250  Schema:   QC_hit: No
# Query_time: 0.004213  Lock_time: 0.004120  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909633;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:53:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 251  Schema:   QC_hit: No
# Query_time: 0.003704  Lock_time: 0.003627  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909638;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 251  Schema:   QC_hit: No
# Query_time: 0.000175  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909638;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:54:03
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 254  Schema:   QC_hit: No
# Query_time: 0.000161  Lock_time: 0.000085  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909643;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 254  Schema:   QC_hit: No
# Query_time: 0.001169  Lock_time: 0.001113  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909643;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:54:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 255  Schema:   QC_hit: No
# Query_time: 0.001387  Lock_time: 0.001273  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909648;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 255  Schema:   QC_hit: No
# Query_time: 0.000376  Lock_time: 0.000304  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909648;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:54:13
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 258  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=1619909653;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 258  Schema:   QC_hit: No
# Query_time: 0.000105  Lock_time: 0.000065  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909653;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:54:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 259  Schema:   QC_hit: No
# Query_time: 0.000402  Lock_time: 0.000285  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909658;
SELECT
                  page_size, buffer_pool_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.000217  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909658;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:54:23
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 262  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=1619909663;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 262  Schema:   QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000183  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909663;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:54:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 263  Schema:   QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000181  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909668;
SELECT
                  page_size, buffer_pool_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.000155  Lock_time: 0.000118  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909668;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:54:33
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 266  Schema:   QC_hit: No
# Query_time: 0.000332  Lock_time: 0.000237  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909673;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 266  Schema:   QC_hit: No
# Query_time: 0.000250  Lock_time: 0.000180  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909673;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:54:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 267  Schema:   QC_hit: No
# Query_time: 0.000320  Lock_time: 0.000206  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909678;
SELECT
		  page_size, compress_ops, 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.000159  Lock_time: 0.000104  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909678;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:54:43
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 270  Schema:   QC_hit: No
# Query_time: 0.000133  Lock_time: 0.000085  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909683;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 270  Schema:   QC_hit: No
# Query_time: 0.000537  Lock_time: 0.000498  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909683;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:54:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 271  Schema:   QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000173  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909688;
SELECT
		  page_size, compress_ops, 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.000152  Lock_time: 0.000113  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909688;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:54:53
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 274  Schema:   QC_hit: No
# Query_time: 0.007772  Lock_time: 0.007680  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909693;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 274  Schema:   QC_hit: No
# Query_time: 0.000166  Lock_time: 0.000097  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909693;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:54:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 275  Schema:   QC_hit: No
# Query_time: 0.000314  Lock_time: 0.000229  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909698;
SELECT
		  page_size, compress_ops, 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.000252  Lock_time: 0.000162  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909698;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:55:03
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 278  Schema:   QC_hit: No
# Query_time: 0.000324  Lock_time: 0.000222  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909703;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 278  Schema:   QC_hit: No
# Query_time: 0.000370  Lock_time: 0.000306  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909703;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:55:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 279  Schema:   QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909708;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 279  Schema:   QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000203  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909708;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:55:13
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 282  Schema:   QC_hit: No
# Query_time: 0.001076  Lock_time: 0.000984  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909713;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 282  Schema:   QC_hit: No
# Query_time: 0.000105  Lock_time: 0.000066  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909713;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:55:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 283  Schema:   QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909718;
SELECT
		  page_size, compress_ops, 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.000206  Lock_time: 0.000139  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909718;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:55:23
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 286  Schema:   QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000154  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909723;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 286  Schema:   QC_hit: No
# Query_time: 0.000201  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909723;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:55:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 287  Schema:   QC_hit: No
# Query_time: 0.000185  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909728;
SELECT
		  page_size, compress_ops, 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.000177  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909728;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:55:33
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 290  Schema:   QC_hit: No
# Query_time: 0.000173  Lock_time: 0.000103  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909733;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 290  Schema:   QC_hit: No
# Query_time: 0.000133  Lock_time: 0.000071  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909733;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:55:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 291  Schema:   QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000201  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909738;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 291  Schema:   QC_hit: No
# Query_time: 0.000150  Lock_time: 0.000110  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909738;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:55:43
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 294  Schema:   QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000165  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909743;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 294  Schema:   QC_hit: No
# Query_time: 0.000241  Lock_time: 0.000188  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909743;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:55:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 295  Schema:   QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000208  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909748;
SELECT
                  page_size, buffer_pool_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.000165  Lock_time: 0.000116  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909748;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:55:53
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 298  Schema:   QC_hit: No
# Query_time: 0.000178  Lock_time: 0.000093  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909753;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 298  Schema:   QC_hit: No
# Query_time: 0.000242  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909753;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:55:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 299  Schema:   QC_hit: No
# Query_time: 0.000179  Lock_time: 0.000116  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909758;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 299  Schema:   QC_hit: No
# Query_time: 0.000105  Lock_time: 0.000069  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909758;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:56:03
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 302  Schema:   QC_hit: No
# Query_time: 0.000333  Lock_time: 0.000272  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909763;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 302  Schema:   QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000245  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909763;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:56:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 303  Schema:   QC_hit: No
# Query_time: 0.000314  Lock_time: 0.000183  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909768;
SELECT
                  page_size, buffer_pool_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.000231  Lock_time: 0.000161  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909768;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:56:13
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 306  Schema:   QC_hit: No
# Query_time: 0.011751  Lock_time: 0.011620  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909773;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 306  Schema:   QC_hit: No
# Query_time: 0.000172  Lock_time: 0.000116  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909773;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:56:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 307  Schema:   QC_hit: No
# Query_time: 0.002734  Lock_time: 0.002607  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909778;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 307  Schema:   QC_hit: No
# Query_time: 0.000154  Lock_time: 0.000099  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909778;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:56:23
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 310  Schema:   QC_hit: No
# Query_time: 0.000172  Lock_time: 0.000119  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909783;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 310  Schema:   QC_hit: No
# Query_time: 0.000205  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909783;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:56:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 311  Schema:   QC_hit: No
# Query_time: 0.000443  Lock_time: 0.000307  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909788;
SELECT
		  page_size, compress_ops, 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.000255  Lock_time: 0.000169  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909788;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:56:33
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 314  Schema:   QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000181  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909793;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 314  Schema:   QC_hit: No
# Query_time: 0.000169  Lock_time: 0.000123  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909793;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:56:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 315  Schema:   QC_hit: No
# Query_time: 0.000397  Lock_time: 0.000265  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909798;
SELECT
		  page_size, compress_ops, 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.000284  Lock_time: 0.000184  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909798;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:56:43
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 318  Schema:   QC_hit: No
# Query_time: 0.001371  Lock_time: 0.001308  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909803;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 318  Schema:   QC_hit: No
# Query_time: 0.000143  Lock_time: 0.000103  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909803;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:56:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 319  Schema:   QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000136  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909808;
SELECT
		  page_size, compress_ops, 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.000175  Lock_time: 0.000121  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909808;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:56:53
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 322  Schema:   QC_hit: No
# Query_time: 0.001538  Lock_time: 0.001474  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909813;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 322  Schema:   QC_hit: No
# Query_time: 0.000127  Lock_time: 0.000084  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909813;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:56:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 323  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=1619909818;
SELECT
		  page_size, compress_ops, 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.000179  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909818;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:57:03
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 326  Schema:   QC_hit: No
# Query_time: 0.000162  Lock_time: 0.000119  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909823;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 326  Schema:   QC_hit: No
# Query_time: 0.000094  Lock_time: 0.000058  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909823;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:57:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 327  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=1619909828;
SELECT
		  page_size, compress_ops, 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.000107  Lock_time: 0.000071  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909828;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:57:13
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 330  Schema:   QC_hit: No
# Query_time: 0.000613  Lock_time: 0.000279  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909833;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 330  Schema:   QC_hit: No
# Query_time: 0.000119  Lock_time: 0.000068  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909833;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:57:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 331  Schema:   QC_hit: No
# Query_time: 0.000929  Lock_time: 0.000878  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909838;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 331  Schema:   QC_hit: No
# Query_time: 0.000105  Lock_time: 0.000063  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909838;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:57:23
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 334  Schema:   QC_hit: No
# Query_time: 0.000191  Lock_time: 0.000121  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909843;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 334  Schema:   QC_hit: No
# Query_time: 0.000276  Lock_time: 0.000227  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909843;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:57:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 335  Schema:   QC_hit: No
# Query_time: 0.000248  Lock_time: 0.000174  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909848;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 335  Schema:   QC_hit: No
# Query_time: 0.000318  Lock_time: 0.000230  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909848;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:57:33
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 338  Schema:   QC_hit: No
# Query_time: 0.000231  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909853;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 338  Schema:   QC_hit: No
# Query_time: 0.000147  Lock_time: 0.000084  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909853;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:57:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 339  Schema:   QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000176  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909858;
SELECT
                  page_size, buffer_pool_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.000126  Lock_time: 0.000084  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909858;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:57:43
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 342  Schema:   QC_hit: No
# Query_time: 0.000253  Lock_time: 0.000179  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909863;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 342  Schema:   QC_hit: No
# Query_time: 0.000211  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909863;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:57:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 343  Schema:   QC_hit: No
# Query_time: 0.000219  Lock_time: 0.000167  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909868;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 343  Schema:   QC_hit: No
# Query_time: 0.000152  Lock_time: 0.000098  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909868;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:57:53
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 346  Schema:   QC_hit: No
# Query_time: 0.000269  Lock_time: 0.000192  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909873;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 346  Schema:   QC_hit: No
# Query_time: 0.000187  Lock_time: 0.000143  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909873;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:57:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 347  Schema:   QC_hit: No
# Query_time: 0.000280  Lock_time: 0.000179  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909878;
SELECT
                  page_size, buffer_pool_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.000197  Lock_time: 0.000139  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909878;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:58:03
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 350  Schema:   QC_hit: No
# Query_time: 0.000328  Lock_time: 0.000234  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909883;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 350  Schema:   QC_hit: No
# Query_time: 0.000208  Lock_time: 0.000143  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909883;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:58:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 351  Schema:   QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000178  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909888;
SELECT
		  page_size, compress_ops, 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.000199  Lock_time: 0.000137  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909888;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:58:13
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 354  Schema:   QC_hit: No
# Query_time: 0.000270  Lock_time: 0.000208  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909893;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 354  Schema:   QC_hit: No
# Query_time: 0.000897  Lock_time: 0.000844  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909893;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:58:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 355  Schema:   QC_hit: No
# Query_time: 0.000181  Lock_time: 0.000104  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909898;
SELECT
		  page_size, compress_ops, 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.000154  Lock_time: 0.000113  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909898;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:58:23
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 358  Schema:   QC_hit: No
# Query_time: 0.000300  Lock_time: 0.000219  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909903;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 358  Schema:   QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000199  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909903;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:58:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 359  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=1619909908;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 359  Schema:   QC_hit: No
# Query_time: 0.000192  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909908;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:58:33
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 362  Schema:   QC_hit: No
# Query_time: 0.000710  Lock_time: 0.000644  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909913;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 362  Schema:   QC_hit: No
# Query_time: 0.000136  Lock_time: 0.000092  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909913;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:58:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 363  Schema:   QC_hit: No
# Query_time: 0.000213  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909918;
SELECT
		  page_size, compress_ops, 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.000207  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909918;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:58:43
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 366  Schema:   QC_hit: No
# Query_time: 0.000328  Lock_time: 0.000223  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909923;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 366  Schema:   QC_hit: No
# Query_time: 0.000270  Lock_time: 0.000171  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909923;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:58:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 367  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=1619909928;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 367  Schema:   QC_hit: No
# Query_time: 0.000241  Lock_time: 0.000164  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909928;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:58:53
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 370  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=1619909933;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 370  Schema:   QC_hit: No
# Query_time: 0.000209  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909933;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:58:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 371  Schema:   QC_hit: No
# Query_time: 0.000158  Lock_time: 0.000093  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909938;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 371  Schema:   QC_hit: No
# Query_time: 0.000173  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909938;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:59:03
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 374  Schema:   QC_hit: No
# Query_time: 0.000183  Lock_time: 0.000131  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909943;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 374  Schema:   QC_hit: No
# Query_time: 0.000116  Lock_time: 0.000078  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909943;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:59:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 375  Schema:   QC_hit: No
# Query_time: 0.000211  Lock_time: 0.000128  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909948;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 375  Schema:   QC_hit: No
# Query_time: 0.000215  Lock_time: 0.000151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909948;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:59:13
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 378  Schema:   QC_hit: No
# Query_time: 0.000148  Lock_time: 0.000087  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909953;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 378  Schema:   QC_hit: No
# Query_time: 0.000169  Lock_time: 0.000120  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909953;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:59:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 379  Schema:   QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000186  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909958;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 379  Schema:   QC_hit: No
# Query_time: 0.000286  Lock_time: 0.000205  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909958;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:59:23
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 382  Schema:   QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000149  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909963;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 382  Schema:   QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000139  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909963;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:59:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 383  Schema:   QC_hit: No
# Query_time: 0.000362  Lock_time: 0.000230  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909968;
SELECT
                  page_size, buffer_pool_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.000240  Lock_time: 0.000128  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909968;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:59:33
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 386  Schema:   QC_hit: No
# Query_time: 0.000533  Lock_time: 0.000382  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909973;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 386  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=1619909973;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:59:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 387  Schema:   QC_hit: No
# Query_time: 0.000278  Lock_time: 0.000188  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909978;
SELECT
		  page_size, compress_ops, 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.000269  Lock_time: 0.000185  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909978;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:59:43
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 390  Schema:   QC_hit: No
# Query_time: 0.000152  Lock_time: 0.000099  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909983;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 390  Schema:   QC_hit: No
# Query_time: 0.000203  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909983;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 22:59:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 391  Schema:   QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000154  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909988;
SELECT
		  page_size, compress_ops, 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.000179  Lock_time: 0.000118  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909988;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:59:53
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 394  Schema:   QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000167  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909993;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 394  Schema:   QC_hit: No
# Query_time: 0.000484  Lock_time: 0.000425  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909993;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 22:59:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 395  Schema:   QC_hit: No
# Query_time: 0.000178  Lock_time: 0.000109  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619909998;
SELECT
		  page_size, compress_ops, 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.000202  Lock_time: 0.000136  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619909998;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 23:00:03
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 398  Schema:   QC_hit: No
# Query_time: 0.000219  Lock_time: 0.000158  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910003;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 398  Schema:   QC_hit: No
# Query_time: 0.000192  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910003;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 23:00:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 399  Schema:   QC_hit: No
# Query_time: 0.000227  Lock_time: 0.000154  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910008;
SELECT
		  page_size, compress_ops, 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.000121  Lock_time: 0.000083  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910008;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 23:00:13
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 402  Schema:   QC_hit: No
# Query_time: 0.000191  Lock_time: 0.000127  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910013;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 402  Schema:   QC_hit: No
# Query_time: 0.002480  Lock_time: 0.002427  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910013;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 23:00:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 406  Schema:   QC_hit: No
# Query_time: 0.000231  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910018;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 406  Schema:   QC_hit: No
# Query_time: 0.000185  Lock_time: 0.000132  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910018;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 23:00:23
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 409  Schema:   QC_hit: No
# Query_time: 0.000166  Lock_time: 0.000102  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910023;
SELECT
		  page_size, compress_ops, 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.000242  Lock_time: 0.000153  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910023;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 23:00:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 410  Schema:   QC_hit: No
# Query_time: 0.000239  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910028;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 410  Schema:   QC_hit: No
# Query_time: 0.000175  Lock_time: 0.000109  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910028;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 23:00:33
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 413  Schema:   QC_hit: No
# Query_time: 0.000142  Lock_time: 0.000082  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910033;
SELECT
		  page_size, compress_ops, 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.000101  Lock_time: 0.000063  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910033;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 23:00:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 414  Schema:   QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000155  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910038;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 414  Schema:   QC_hit: No
# Query_time: 0.000130  Lock_time: 0.000086  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910038;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 23:00:43
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 417  Schema:   QC_hit: No
# Query_time: 0.000171  Lock_time: 0.000126  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910043;
SELECT
		  page_size, compress_ops, 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.000150  Lock_time: 0.000113  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910043;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 23:00:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 418  Schema:   QC_hit: No
# Query_time: 0.000196  Lock_time: 0.000121  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910048;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 418  Schema:   QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910048;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 23:00:53
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 421  Schema:   QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000235  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910053;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 421  Schema:   QC_hit: No
# Query_time: 0.000110  Lock_time: 0.000072  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910053;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 23:00:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 422  Schema:   QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910058;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 422  Schema:   QC_hit: No
# Query_time: 0.000149  Lock_time: 0.000104  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910058;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 23:01:03
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 425  Schema:   QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000175  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910063;
SELECT
		  page_size, compress_ops, 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.000159  Lock_time: 0.000114  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910063;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 23:01:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 426  Schema:   QC_hit: No
# Query_time: 0.000193  Lock_time: 0.000124  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910068;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 426  Schema:   QC_hit: No
# Query_time: 0.000217  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910068;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 23:01:13
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 429  Schema:   QC_hit: No
# Query_time: 0.000310  Lock_time: 0.000177  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910073;
SELECT
		  page_size, compress_ops, 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.000202  Lock_time: 0.000131  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910073;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 23:01:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 430  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=1619910078;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 430  Schema:   QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000188  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910078;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 23:01:23
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 433  Schema:   QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910083;
SELECT
		  page_size, compress_ops, 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.000273  Lock_time: 0.000192  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910083;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 23:01:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 434  Schema:   QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000164  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910088;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 434  Schema:   QC_hit: No
# Query_time: 0.000199  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910088;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2021-05-01 23:01:29 7 [Warning] 'proxies_priv' entry '@% root@dev-mariadb-galera-0' ignored in --skip-name-resolve mode.
# Time: 210501 23:01:33
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 438  Schema:   QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000139  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910093;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 438  Schema:   QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000102  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910093;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
2021-05-01 23:01:36 7 [Warning] 'proxies_priv' entry '@% root@dev-mariadb-galera-0' ignored in --skip-name-resolve mode.
2021-05-01 23:01:36 6 [Warning] 'proxies_priv' entry '@% root@dev-mariadb-galera-0' ignored in --skip-name-resolve mode.
2021-05-01 23:01:36 8 [Warning] 'proxies_priv' entry '@% root@dev-mariadb-galera-0' ignored in --skip-name-resolve mode.
2021-05-01 23:01:36 440 [Warning] 'proxies_priv' entry '@% root@dev-mariadb-galera-0' ignored in --skip-name-resolve mode.
2021-05-01 23:01:37 8 [Warning] 'proxies_priv' entry '@% root@dev-mariadb-galera-0' ignored in --skip-name-resolve mode.
# Time: 210501 23:01:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 441  Schema:   QC_hit: No
# Query_time: 0.000201  Lock_time: 0.000112  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910098;
SELECT
		  page_size, compress_ops, 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.000141  Lock_time: 0.000086  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910098;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 23:01:43
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 444  Schema:   QC_hit: No
# Query_time: 0.000224  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910103;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 444  Schema:   QC_hit: No
# Query_time: 0.001237  Lock_time: 0.001191  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910103;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 23:01:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 445  Schema:   QC_hit: No
# Query_time: 0.000219  Lock_time: 0.000116  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910108;
SELECT
                  page_size, buffer_pool_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.000172  Lock_time: 0.000107  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910108;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 23:01:53
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 447  Schema:   QC_hit: No
# Query_time: 0.000248  Lock_time: 0.000197  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910113;
SELECT
		  page_size, compress_ops, 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.000217  Lock_time: 0.000170  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910113;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 23:01:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 449  Schema:   QC_hit: No
# Query_time: 0.000192  Lock_time: 0.000119  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910118;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 449  Schema:   QC_hit: No
# Query_time: 0.000113  Lock_time: 0.000075  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910118;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 23:02:03
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 452  Schema:   QC_hit: No
# Query_time: 0.000168  Lock_time: 0.000113  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910123;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 452  Schema:   QC_hit: No
# Query_time: 0.000128  Lock_time: 0.000085  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910123;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 23:02:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 453  Schema:   QC_hit: No
# Query_time: 0.000194  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910128;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 453  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=1619910128;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 23:02:13
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 455  Schema:   QC_hit: No
# Query_time: 0.000189  Lock_time: 0.000132  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910133;
SELECT
		  page_size, compress_ops, 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.000114  Lock_time: 0.000076  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910133;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 23:02:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 457  Schema:   QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000149  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910138;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 457  Schema:   QC_hit: No
# Query_time: 0.000181  Lock_time: 0.000127  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910138;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 23:02:23
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 460  Schema:   QC_hit: No
# Query_time: 0.000359  Lock_time: 0.000240  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910143;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 460  Schema:   QC_hit: No
# Query_time: 0.000142  Lock_time: 0.000090  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910143;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 23:02:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 461  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=1619910148;
SELECT
		  page_size, compress_ops, 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.000141  Lock_time: 0.000088  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910148;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 23:02:33
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 464  Schema:   QC_hit: No
# Query_time: 0.000201  Lock_time: 0.000123  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910153;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 464  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=1619910153;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 23:02:37
# User@Host: so_user[so_user] @  [10.242.98.222]
# Thread_id: 465  Schema: camundabpmn  QC_hit: No
# Query_time: 0.054957  Lock_time: 0.000266  Rows_sent: 0  Rows_examined: 47
# Rows_affected: 0  Bytes_sent: 92
use camundabpmn;
SET timestamp=1619910157;
select table_name from information_schema.TABLES where table_schema = database() and table_type = 'SEQUENCE';
# Time: 210501 23:02:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 468  Schema:   QC_hit: No
# Query_time: 0.000289  Lock_time: 0.000156  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910158;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 468  Schema:   QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000184  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910158;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 23:02:43
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 471  Schema:   QC_hit: No
# Query_time: 0.000248  Lock_time: 0.000121  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910163;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 471  Schema:   QC_hit: No
# Query_time: 0.000167  Lock_time: 0.000112  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910163;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 23:02:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 475  Schema:   QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910168;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 475  Schema:   QC_hit: No
# Query_time: 0.000266  Lock_time: 0.000178  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910168;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 23:02:52
# User@Host: so_user[so_user] @  [10.242.98.222]
# Thread_id: 465  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001712  Lock_time: 0.000404  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 560
SET timestamp=1619910172;
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.98.222]
# Thread_id: 465  Schema: camundabpmn  QC_hit: No
# Query_time: 0.000926  Lock_time: 0.000194  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 559
SET timestamp=1619910172;
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.98.222]
# Thread_id: 465  Schema: camundabpmn  QC_hit: No
# Query_time: 0.000846  Lock_time: 0.000169  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 555
SET timestamp=1619910172;
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.98.222]
# Thread_id: 465  Schema: camundabpmn  QC_hit: No
# Query_time: 0.000885  Lock_time: 0.000157  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 559
SET timestamp=1619910172;
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.98.222]
# Thread_id: 465  Schema: camundabpmn  QC_hit: No
# Query_time: 0.000784  Lock_time: 0.000119  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 559
SET timestamp=1619910172;
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.98.222]
# Thread_id: 465  Schema: camundabpmn  QC_hit: No
# Query_time: 0.000672  Lock_time: 0.000115  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 563
SET timestamp=1619910172;
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.98.222]
# Thread_id: 465  Schema: camundabpmn  QC_hit: No
# Query_time: 0.000822  Lock_time: 0.000151  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 558
SET timestamp=1619910172;
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.98.222]
# Thread_id: 465  Schema: camundabpmn  QC_hit: No
# Query_time: 0.007042  Lock_time: 0.000661  Rows_sent: 26  Rows_examined: 52
# Rows_affected: 0  Bytes_sent: 3734
SET timestamp=1619910172;
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: 210501 23:02:53
# User@Host: so_user[so_user] @  [10.242.98.222]
# Thread_id: 465  Schema: camundabpmn  QC_hit: No
# Query_time: 0.013758  Lock_time: 0.000903  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 810
SET timestamp=1619910173;
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_ = 'SpringAutoDeployment'
        and
         
          (D.SOURCE_ is null or
         
          D.SOURCE_ = 'process application'
         
          )
         
       
        and B.NAME_ in 
         (  
          'DoCreateVnfAndModulesRollback.bpmn'
         , 
          'DeleteVfModuleVolumeInfraV1.bpmn'
         , 
          'VNFUpgradePreCheckActivity.bpmn'
         , 
          'ConfirmVolumeGroupName.bpmn'
         , 
          'VNFCheckClosedLoopDisabledFlagActivity.bpmn'
         , 
          'CreateActivateSDNCResource.bpmn'
         , 
          'AppCClient.bpmn'
         , 
          'DistributeTrafficCheckActivity.bpmn'
         , 
          'DoDeleteResourcesV1.bpmn'
         , 
          'ActivateNetworkCollectionBB.bpmn'
         , 
          'VNFLockActivity.bpmn'
         , 
          'DoAllocateCoreNonSharedSlice.bpmn'
         , 
          'DoUnderlayVpnOperation.bpmn'
         , 
          'VNFUnsetClosedLoopDisabledFlagActivity.bpmn'
         , 
          'MonitorVnfmDeleteJob.bpmn'
         , 
          'DeactivateVolumeGroupBB.bpmn'
         , 
          'DeleteVnfInfra.bpmn'
         , 
          'DeActivateSDNCNetworkResource.bpmn'
         , 
          'ManualHandling.bpmn'
         , 
          'DeleteVolumeGroupBB.bpmn'
         , 
          'CompleteMsoProcess.bpmn'
         , 
          'DoModifyCoreNSSI.bpmn'
         , 
          'CreateAndActivatePnfResource.bpmn'
         , 
          'CreateVcpeResCustServiceV2.bpmn'
         , 
          'DoDeleteVnf.bpmn'
         , 
          'UpdateNetworkInstance.bpmn'
         , 
          'DoDeleteVfModule.bpmn'
         , 
          'PauseForManualTaskRainyDay.bpmn'
         , 
          'ActivateSliceSubnet.bpmn'
         , 
          'SetRefactorServiceDecomp.bpmn'
         , 
          'DoCreateVfModule.bpmn'
         , 
          'DoAllocateTransportNSSI.bpmn'
         , 
          'DoCreateVnfAndModules.bpmn'
         , 
          'DeleteCommunicationService.bpmn'
         , 
          'CreateVcpeResCustService.bpmn'
         , 
          'DoCreateE2EServiceInstance.bpmn'
         , 
          'DeleteVFCNSResource.bpmn'
         , 
          'GenericPnfSoftwareUpgrade.bpmn'
         , 
          'DeactivateNetworkBB.bpmn'
         , 
          'ActivateSDNCNetworkResource.bpmn'
         , 
          'CreateVfModuleVolumeInfraV1.bpmn'
         , 
          'RollbackVnf.bpmn'
         , 
          'VNFSetInMaintFlagActivity.bpmn'
         , 
          'AssignVnfBB.bpmn'
         , 
          'DoCreateVfModuleVolumeRollback.bpmn'
         , 
          'CreateSliceService.bpmn'
         , 
          'VNFUpgradePostCheckActivity.bpmn'
         , 
          'DoCreateAllottedResourceBRG.bpmn'
         , 
          'AssignVolumeGroupBB.bpmn'
         , 
          'GenericControllerExecution.bpmn'
         , 
          'DeleteSliceService.bpmn'
         , 
          'HandlePNF.bpmn'
         , 
          'DoDeleteServiceInstance.bpmn'
         , 
          'ActivateVnfBB.bpmn'
         , 
          'UpdateVnfInfra.bpmn'
         , 
          'DoCreateVFCNetworkServiceInstance.bpmn'
         , 
          'DoCompareModelVersions.bpmn'
         , 
          'ReplaceVnfInfra.bpmn'
         , 
          'ConfigDeployVnfBB.bpmn'
         , 
          'DistributeTrafficActivity.bpmn'
         , 
          'AAIUnsetVnfInMaintBB.bpmn'
         , 
          'DoCreateVfModuleRollback.bpmn'
         , 
          'ActivatePnfBB.bpmn'
         , 
          'CreateVfModuleInfra.bpmn'
         , 
          'GenericVnfHealthCheckBB.bpmn'
         , 
          'CreateAAIVfModuleVolumeGroup.bpmn'
         , 
          'DoModifyAccessNSSI.bpmn'
         , 
          'DeactivateVfModuleBB.bpmn'
         , 
          'CreateNetworkBB.bpmn'
         , 
          'DoCustomDeleteE2EServiceInstance.bpmn'
         , 
          'CreateCustomerBB.bpmn'
         , 
          'DoDeleteVnfAndModules.bpmn'
         , 
          'CreateVcpeResCustService_simplified.bpmn'
         , 
          'VNFSnapShotActivity.bpmn'
         , 
          'DeleteNetworkCollectionBB.bpmn'
         , 
          'ActivateVolumeGroupBB.bpmn'
         , 
          'CreateAAIVfModule.bpmn'
         , 
          'DoCreateAllottedResourceTXCRollback.bpmn'
         , 
          'GenericPnfSWUPDownload.bpmn'
         , 
          'UnassignVolumeGroupBB.bpmn'
         , 
          'GenerateVfModuleName.bpmn'
         , 
          'DecomposeService.bpmn'
         , 
          'CreateSDNCNetworkResource.bpmn'
         , 
          'DoScaleVFCServiceInstance.bpmn'
         , 
          'DoCreateResources.bpmn'
         , 
          'DeleteAAIVfModule.bpmn'
         , 
          'DoActivateSliceService.bpmn'
         , 
          'UnassignServiceInstanceBB.bpmn'
         , 
          'CreateVFCNSResource.bpmn'
         , 
          'DoCreateE2EServiceInstanceV2.bpmn'
         , 
          'UpdateNetworkBB.bpmn'
         , 
          'DoCreateSliceServiceInstance.bpmn'
         , 
          'VNFQuiesceTrafficActivity.bpmn'
         , 
          'Create3rdONAPE2EServiceInstance.bpmn'
         , 
          'ConfigurePnfResource.bpmn'
         , 
          'DoCreateNetworkInstanceRollback.bpmn'
         , 
          'DoDeleteE2EServiceInstance.bpmn'
         , 
          'DoDeleteAllottedResourceTXC.bpmn'
         , 
          'UpdateVfModuleInfra.bpmn'
         , 
          'DoAllocateNSSI.bpmn'
         , 
          'ConfigAssignVnfBB.bpmn'
         , 
          'ActivateCommunicationService.bpmn'
         , 
          'DeactivateServiceInstanceBB.bpmn'
         , 
          'ConfigurationScaleOutBB.bpmn'
         , 
          'DoCreateNetworkInstance.bpmn'
         , 
          'NetworkAdapter.bpmn'
         , 
          'MonitorVnfmDeleteNodeStatus.bpmn'
         , 
          'FalloutHandler.bpmn'
         , 
          'ReceiveWorkflowMessage.bpmn'
         , 
          'DoUpdateVfModule.bpmn'
         , 
          'DoCompareModelofE2EServiceInstance.bpmn'
         , 
          'VNFStartActivity.bpmn'
         , 
          'CreateGenericALaCarteServiceInstance.bpmn'
         , 
          'DoDeleteVfModuleVolumeV2.bpmn'
         , 
          'CreateNetworkCollectionBB.bpmn'
         , 
          'DeactivateVnfBB.bpmn'
         , 
          'DoCreateSliceServiceOption.bpmn'
         , 
          'VNFUnsetInMaintFlagActivity.bpmn'
         , 
          'DoUpdateNetworkInstance.bpmn'
         , 
          'DoDeallocateCoreNSSI.bpmn'
         , 
          'DoDeleteSliceService.bpmn'
         , 
          'MonitorVnfmCreateNodeStatus.bpmn'
         , 
          'CreateVfModuleBB.bpmn'
         , 
          'AssignServiceInstanceBB.bpmn'
         , 
          'HandleOrchestrationTask.bpmn'
         , 
          'DeleteDeviceResource.bpmn'
         , 
          'SDNCHandler.bpmn'
         , 
          'DeleteVfModuleBB.bpmn'
         , 
          'UpdateVfModuleVolumeInfraV1.bpmn'
         , 
          'VNFResumeTrafficActivity.bpmn'
         , 
          'DoCreateServiceInstanceRollback.bpmn'
         , 
          'DeleteVcpeResCustService.bpmn'
         , 
          'VNFSetClosedLoopDisabledFlagActivity.bpmn'
         , 
          'VnfConfigUpdate.bpmn'
         , 
          'DoAllocateCoreSharedSlice.bpmn'
         , 
          'AAICheckVnfInMaintBB.bpmn'
         , 
          'VNFHealthCheckActivity.bpmn'
         , 
          'EtsiVnfInstantiateBB.bpmn'
         , 
          'UnassignVnfBB.bpmn'
         , 
          'DoModifyTransportNSSI.bpmn'
         , 
          'UnassignNetworkBB.bpmn'
         , 
          'ActivateVfModuleBB.bpmn'
         , 
          'RainyDayHandler.bpmn'
         , 
          'DoAllocateAccessNSSI.bpmn'
         , 
          'AbstractCDSProcessingBB.bpmn'
         , 
          'Homing.bpmn'
         , 
          'CompareModelofE2EServiceInstance.bpmn'
         , 
          'DoDeallocateAccessNSSI.bpmn'
         , 
          'VNFUnlockActivity.bpmn'
         , 
          'DeleteCustomE2EServiceInstance.bpmn'
         , 
          'DoUpdateE2EServiceInstanceRollback.bpmn'
         , 
          'Orchestration.bpmn'
         , 
          'SDNCAdapterV1.bpmn'
         , 
          'GenericControllerExecutionDE.bpmn'
         , 
          'DeactivatePnfBB.bpmn'
         , 
          'CreateVnfInfra.bpmn'
         , 
          'DoDeallocateTransportNSSI.bpmn'
         , 
          'WaitForPnfReadyBB.bpmn'
         , 
          'DoCreateE2ENetworkInstance.bpmn'
         , 
          'AssignVfModuleBB.bpmn'
         , 
          'UnassignVfModuleBB.bpmn'
         , 
          'DeAllocateSliceSubnet.bpmn'
         , 
          'EtsiVnfDeleteBB.bpmn'
         , 
          'UpdateAAIVfModule.bpmn'
         , 
          'DoActivateTransportNSSI.bpmn'
         , 
          'ChangeModelVnfBB.bpmn'
         , 
          'NetworkAdapterRestV1.bpmn'
         , 
          'DoCreateAllottedResourceTXC.bpmn'
         , 
          'DoHandleOofRequest.bpmn'
         , 
          'DoCompareServiceInstanceData.bpmn'
         , 
          'AssignNetworkBB.bpmn'
         , 
          'ChangeModelVfModuleBB.bpmn'
         , 
          'DoCreateE2EServiceInstanceRollback.bpmn'
         , 
          'DeleteSDNCNetworkResource.bpmn'
         , 
          'DoDeallocateNSSI.bpmn'
         , 
          'DoHandleSdnrDmaapRequest.bpmn'
         , 
          'CheckServiceProcessStatus.bpmn'
         , 
          'ConfirmVolumeGroupTenant.bpmn'
         , 
          'QueryJobStatus.bpmn'
         , 
          'DoDeleteVfModuleFromVnf.bpmn'
         , 
          'WorkflowActionBB.bpmn'
         , 
          'VNFCheckInMaintFlagActivity.bpmn'
         , 
          'OpenstackAdapterTask.bpmn'
         , 
          'DoAllocateCoreNSSI.bpmn'
         , 
          'CreateDeviceResource.bpmn'
         , 
          'DoDeleteVFCNetworkServiceInstance.bpmn'
         , 
          'DoCreateServiceInstance.bpmn'
         , 
          'DeleteGenericALaCarteServiceInstance.bpmn'
         , 
          'ExecuteBuildingBlock.bpmn'
         , 
          'GenericNotificationService.bpmn'
         , 
          'DoUpdateVnfAndModules.bpmn'
         , 
          'DoUpdateE2EServiceInstance.bpmn'
         , 
          'SDNCAdapterRestV1.bpmn'
         , 
          'ChangeModelServiceInstanceBB.bpmn'
         , 
          'DoCreateAllottedResourceBRGRollback.bpmn'
         , 
          'ModifySliceSubnet.bpmn'
         , 
          'DoCreateVfModuleVolumeV2.bpmn'
         , 
          'ServiceLevelUpgrade.bpmn'
         , 
          'ActivateNetworkBB.bpmn'
         , 
          'GenericPnfHealthCheck.bpmn'
         , 
          'CreateNetworkInstance.bpmn'
         , 
          'DoDeleteNetworkInstance.bpmn'
         , 
          'DeleteNetworkInstance.bpmn'
         , 
          'DoActivateAccessNSSI.bpmn'
         , 
          'VNFCheckPserversLockedFlagActivity.bpmn'
         , 
          'ControllerExecutionBB.bpmn'
         , 
          'VnfInPlaceUpdate.bpmn'
         , 
          'ActivateSliceService.bpmn'
         , 
          'DeleteNetworkBB.bpmn'
         , 
          'CreateCustomE2EServiceInstance.bpmn'
         , 
          'VNFStopActivity.bpmn'
         , 
          'CreateVolumeGroupBB.bpmn'
         , 
          'DoDeleteAllottedResourceBRG.bpmn'
         , 
          'UpdateCustomE2EServiceInstance.bpmn'
         , 
          'AAISetVnfInMaintBB.bpmn'
         , 
          'DoCreateTnNssiInstance.bpmn'
         , 
          'DoActivateCoreNSSI.bpmn'
         , 
          'ScaleCustomE2EServiceInstance.bpmn'
         , 
          'DeleteVfModuleInfra.bpmn'
         , 
          'MonitorVnfmCreateJob.bpmn'
         , 
          'DoAllocateNSIandNSSI.bpmn'
         , 
          'VnfAdapter.bpmn'
         , 
          'CreateCommunicationService.bpmn'
         , 
          'UpdateAAIGenericVnf.bpmn'
         , 
          'AssignPnfBB.bpmn'
         , 
          'Delete3rdONAPE2EServiceInstance.bpmn'
         , 
          'PauseForManualTaskActivity.bpmn'
         , 
          'UpdateVfModuleInfraV2.bpmn'
         , 
          'DeleteInstanceGroupBB.bpmn'
         , 
          'DoCustomDeleteE2EServiceInstanceV2.bpmn'
         , 
          'ActivateServiceInstanceBB.bpmn'
         , 
          'DoScaleE2EServiceInstance.bpmn'
         , 
          'FlowCompleteActivity.bpmn'
         , 
          'VNFConfigModifyActivity.bpmn'
         , 
          'SDNOVnfHealthCheckBB.bpmn'
         , 
          'PrepareUpdateAAIVfModule.bpmn'
         , 
          'HomingBB.bpmn'
         , 
          'DoCreateVnf.bpmn'
         , 
          'VNFUpgradeBackupActivity.bpmn'
         , 
          'DoModifyRanNfNssi.bpmn'
         , 
          'DoCreateCommunicationService.bpmn'
         , 
          'AllocateSliceSubnet.bpmn'
         , 
          'SDNCAdapterRestV2.bpmn'
         , 
          'VNFUpgradeSoftwareActivity.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_ = 'SpringAutoDeployment'
    and
     
      (D.SOURCE_ is null or
     
      D.SOURCE_ = 'process application'
     
      )
     
     
     
      and D.TENANT_ID_ is null
     
    order by B.ID_ asc;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 478  Schema:   QC_hit: No
# Query_time: 0.000229  Lock_time: 0.000126  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910173;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 478  Schema:   QC_hit: No
# Query_time: 0.000295  Lock_time: 0.000168  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910173;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 23:02:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 479  Schema:   QC_hit: No
# Query_time: 0.000269  Lock_time: 0.000166  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910178;
SELECT
                  page_size, buffer_pool_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.000224  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910178;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 23:03:00
# User@Host: so_user[so_user] @  [10.242.119.205]
# Thread_id: 481  Schema: requestdb  QC_hit: No
# Query_time: 0.001082  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 92
use requestdb;
SET timestamp=1619910180;
select table_name from information_schema.TABLES where table_schema = database() and table_type = 'SEQUENCE';
# Time: 210501 23:03:03
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 488  Schema:   QC_hit: No
# Query_time: 0.000312  Lock_time: 0.000186  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910183;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 488  Schema:   QC_hit: No
# Query_time: 0.000190  Lock_time: 0.000126  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910183;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 23:03:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 489  Schema:   QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000155  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910188;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 489  Schema:   QC_hit: No
# Query_time: 0.000106  Lock_time: 0.000067  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910188;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 23:03:13
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 492  Schema:   QC_hit: No
# Query_time: 0.000241  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910193;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 492  Schema:   QC_hit: No
# Query_time: 0.000172  Lock_time: 0.000120  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910193;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 23:03:14
# User@Host: so_user[so_user] @  [10.242.119.206]
# Thread_id: 493  Schema: requestdb  QC_hit: No
# Query_time: 0.001032  Lock_time: 0.000218  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 92
SET timestamp=1619910194;
select table_name from information_schema.TABLES where table_schema = database() and table_type = 'SEQUENCE';
# Time: 210501 23:03:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 496  Schema:   QC_hit: No
# Query_time: 0.000238  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910198;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 496  Schema:   QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000189  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910198;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 23:03:23
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 507  Schema:   QC_hit: No
# Query_time: 0.003669  Lock_time: 0.003556  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910203;
SELECT
		  page_size, compress_ops, 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.000326  Lock_time: 0.000263  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910203;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 23:03:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 508  Schema:   QC_hit: No
# Query_time: 0.000481  Lock_time: 0.000335  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910208;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 508  Schema:   QC_hit: No
# Query_time: 0.000343  Lock_time: 0.000237  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910208;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 23:03:33
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 511  Schema:   QC_hit: No
# Query_time: 0.000196  Lock_time: 0.000111  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910213;
SELECT
		  page_size, compress_ops, 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.000198  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910213;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 23:03:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 515  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=1619910218;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 515  Schema:   QC_hit: No
# Query_time: 0.000147  Lock_time: 0.000088  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910218;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 23:03:43
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 518  Schema:   QC_hit: No
# Query_time: 0.000160  Lock_time: 0.000082  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910223;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 518  Schema:   QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910223;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 23:03:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 519  Schema:   QC_hit: No
# Query_time: 0.000185  Lock_time: 0.000111  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910228;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 519  Schema:   QC_hit: No
# Query_time: 0.000302  Lock_time: 0.000217  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910228;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 23:03:51
# User@Host: so_admin[so_admin] @  [10.242.49.47]
# Thread_id: 521  Schema: nfvo  QC_hit: No
# Query_time: 0.001745  Lock_time: 0.001380  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 92
use nfvo;
SET timestamp=1619910231;
SELECT event_name FROM information_schema.events LIMIT 1;
# User@Host: so_admin[so_admin] @  [10.242.49.47]
# Thread_id: 521  Schema: nfvo  QC_hit: No
# Query_time: 0.000251  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1619910231;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.49.47]
# Thread_id: 521  Schema: nfvo  QC_hit: No
# Query_time: 0.000478  Lock_time: 0.000216  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 124
SET timestamp=1619910231;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='nfvo' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.49.47]
# Thread_id: 521  Schema: nfvo  QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1619910231;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.49.47]
# Thread_id: 521  Schema: nfvo  QC_hit: No
# Query_time: 0.001543  Lock_time: 0.000195  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 514
SET timestamp=1619910231;
SELECT TABLE_SCHEMA TABLE_CAT, NULL  TABLE_SCHEM,  TABLE_NAME, IF(TABLE_TYPE='BASE TABLE' or TABLE_TYPE='SYSTEM VERSIONED', 'TABLE', TABLE_TYPE) as TABLE_TYPE, TABLE_COMMENT REMARKS, NULL TYPE_CAT, NULL TYPE_SCHEM, NULL TYPE_NAME, NULL SELF_REFERENCING_COL_NAME,  NULL REF_GENERATION FROM INFORMATION_SCHEMA.TABLES  WHERE (TABLE_SCHEMA = 'nfvo') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.49.47]
# Thread_id: 521  Schema: nfvo  QC_hit: No
# Query_time: 0.000161  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1619910231;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.49.47]
# Thread_id: 521  Schema: nfvo  QC_hit: No
# Query_time: 0.000708  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 514
SET timestamp=1619910231;
SELECT TABLE_SCHEMA TABLE_CAT, NULL  TABLE_SCHEM,  TABLE_NAME, IF(TABLE_TYPE='BASE TABLE' or TABLE_TYPE='SYSTEM VERSIONED', 'TABLE', TABLE_TYPE) as TABLE_TYPE, TABLE_COMMENT REMARKS, NULL TYPE_CAT, NULL TYPE_SCHEM, NULL TYPE_NAME, NULL SELF_REFERENCING_COL_NAME,  NULL REF_GENERATION FROM INFORMATION_SCHEMA.TABLES  WHERE (TABLE_SCHEMA = 'nfvo') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.49.47]
# Thread_id: 521  Schema: nfvo  QC_hit: No
# Query_time: 0.000200  Lock_time: 0.000119  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 124
SET timestamp=1619910231;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='nfvo' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.49.47]
# Thread_id: 521  Schema: nfvo  QC_hit: No
# Query_time: 0.010348  Lock_time: 0.010085  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 57
SET timestamp=1619910231;
SELECT SUM(found) FROM ((SELECT 1 as found FROM information_schema.tables WHERE table_schema='nfvo') UNION ALL (SELECT 1 as found FROM information_schema.views WHERE table_schema='nfvo' LIMIT 1) UNION ALL (SELECT 1 as found FROM information_schema.table_constraints WHERE table_schema='nfvo' LIMIT 1) UNION ALL (SELECT 1 as found FROM information_schema.triggers WHERE event_object_schema='nfvo'  LIMIT 1) UNION ALL (SELECT 1 as found FROM information_schema.routines WHERE routine_schema='nfvo' LIMIT 1) UNION ALL (SELECT 1 as found FROM information_schema.events WHERE event_schema='nfvo' LIMIT 1)) as all_found;
# User@Host: so_admin[so_admin] @  [10.242.49.47]
# Thread_id: 521  Schema: nfvo  QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000134  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 124
SET timestamp=1619910231;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='nfvo' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.49.47]
# Thread_id: 521  Schema: nfvo  QC_hit: No
# Query_time: 0.000154  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1619910231;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.49.47]
# Thread_id: 521  Schema: nfvo  QC_hit: No
# Query_time: 0.000756  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 514
SET timestamp=1619910231;
SELECT TABLE_SCHEMA TABLE_CAT, NULL  TABLE_SCHEM,  TABLE_NAME, IF(TABLE_TYPE='BASE TABLE' or TABLE_TYPE='SYSTEM VERSIONED', 'TABLE', TABLE_TYPE) as TABLE_TYPE, TABLE_COMMENT REMARKS, NULL TYPE_CAT, NULL TYPE_SCHEM, NULL TYPE_NAME, NULL SELF_REFERENCING_COL_NAME,  NULL REF_GENERATION FROM INFORMATION_SCHEMA.TABLES  WHERE (TABLE_SCHEMA = 'nfvo') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.49.47]
# Thread_id: 521  Schema: nfvo  QC_hit: No
# Query_time: 0.000205  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1619910231;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.49.47]
# Thread_id: 521  Schema: nfvo  QC_hit: No
# Query_time: 0.002078  Lock_time: 0.000169  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 558
SET timestamp=1619910231;
SELECT TABLE_SCHEMA TABLE_CAT, NULL  TABLE_SCHEM,  TABLE_NAME, IF(TABLE_TYPE='BASE TABLE' or TABLE_TYPE='SYSTEM VERSIONED', 'TABLE', TABLE_TYPE) as TABLE_TYPE, TABLE_COMMENT REMARKS, NULL TYPE_CAT, NULL TYPE_SCHEM, NULL TYPE_NAME, NULL SELF_REFERENCING_COL_NAME,  NULL REF_GENERATION FROM INFORMATION_SCHEMA.TABLES  WHERE (TABLE_SCHEMA = 'nfvo') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.49.47]
# Thread_id: 521  Schema: nfvo  QC_hit: No
# Query_time: 0.000230  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1619910231;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.49.47]
# Thread_id: 521  Schema: nfvo  QC_hit: No
# Query_time: 0.000163  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1619910231;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.49.47]
# Thread_id: 521  Schema: nfvo  QC_hit: No
# Query_time: 0.000962  Lock_time: 0.000200  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 558
SET timestamp=1619910231;
SELECT TABLE_SCHEMA TABLE_CAT, NULL  TABLE_SCHEM,  TABLE_NAME, IF(TABLE_TYPE='BASE TABLE' or TABLE_TYPE='SYSTEM VERSIONED', 'TABLE', TABLE_TYPE) as TABLE_TYPE, TABLE_COMMENT REMARKS, NULL TYPE_CAT, NULL TYPE_SCHEM, NULL TYPE_NAME, NULL SELF_REFERENCING_COL_NAME,  NULL REF_GENERATION FROM INFORMATION_SCHEMA.TABLES  WHERE (TABLE_SCHEMA = 'nfvo') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.49.47]
# Thread_id: 521  Schema: nfvo  QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1619910231;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.49.47]
# Thread_id: 521  Schema: nfvo  QC_hit: No
# Query_time: 0.000224  Lock_time: 0.000111  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 124
SET timestamp=1619910231;
SELECT (SELECT 1 FROM information_schema.schemata WHERE schema_name='nfvo' LIMIT 1);
# User@Host: so_admin[so_admin] @  [10.242.49.47]
# Thread_id: 521  Schema: nfvo  QC_hit: No
# Query_time: 0.007057  Lock_time: 0.006975  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1619910231;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.49.47]
# Thread_id: 521  Schema: nfvo  QC_hit: No
# Query_time: 0.001277  Lock_time: 0.000175  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 558
SET timestamp=1619910231;
SELECT TABLE_SCHEMA TABLE_CAT, NULL  TABLE_SCHEM,  TABLE_NAME, IF(TABLE_TYPE='BASE TABLE' or TABLE_TYPE='SYSTEM VERSIONED', 'TABLE', TABLE_TYPE) as TABLE_TYPE, TABLE_COMMENT REMARKS, NULL TYPE_CAT, NULL TYPE_SCHEM, NULL TYPE_NAME, NULL SELF_REFERENCING_COL_NAME,  NULL REF_GENERATION FROM INFORMATION_SCHEMA.TABLES  WHERE (TABLE_SCHEMA = 'nfvo') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.49.47]
# Thread_id: 521  Schema: nfvo  QC_hit: No
# Query_time: 0.000145  Lock_time: 0.000083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1619910231;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.49.47]
# Thread_id: 521  Schema: nfvo  QC_hit: No
# Query_time: 0.000649  Lock_time: 0.000107  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 558
SET timestamp=1619910231;
SELECT TABLE_SCHEMA TABLE_CAT, NULL  TABLE_SCHEM,  TABLE_NAME, IF(TABLE_TYPE='BASE TABLE' or TABLE_TYPE='SYSTEM VERSIONED', 'TABLE', TABLE_TYPE) as TABLE_TYPE, TABLE_COMMENT REMARKS, NULL TYPE_CAT, NULL TYPE_SCHEM, NULL TYPE_NAME, NULL SELF_REFERENCING_COL_NAME,  NULL REF_GENERATION FROM INFORMATION_SCHEMA.TABLES  WHERE (TABLE_SCHEMA = 'nfvo') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.49.47]
# Thread_id: 521  Schema: nfvo  QC_hit: No
# Query_time: 0.000121  Lock_time: 0.000028  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 926
SET timestamp=1619910231;
SELECT * FROM `nfvo`.`flyway_schema_history` FOR UPDATE;
# User@Host: so_admin[so_admin] @  [10.242.49.47]
# Thread_id: 521  Schema: nfvo  QC_hit: No
# Query_time: 0.000778  Lock_time: 0.000091  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 558
SET timestamp=1619910231;
SELECT TABLE_SCHEMA TABLE_CAT, NULL  TABLE_SCHEM,  TABLE_NAME, IF(TABLE_TYPE='BASE TABLE' or TABLE_TYPE='SYSTEM VERSIONED', 'TABLE', TABLE_TYPE) as TABLE_TYPE, TABLE_COMMENT REMARKS, NULL TYPE_CAT, NULL TYPE_SCHEM, NULL TYPE_NAME, NULL SELF_REFERENCING_COL_NAME,  NULL REF_GENERATION FROM INFORMATION_SCHEMA.TABLES  WHERE (TABLE_SCHEMA = 'nfvo') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.49.47]
# Thread_id: 521  Schema: nfvo  QC_hit: No
# Query_time: 0.000202  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1619910231;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.49.47]
# Thread_id: 521  Schema: nfvo  QC_hit: No
# Query_time: 0.000155  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1619910231;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# User@Host: so_admin[so_admin] @  [10.242.49.47]
# Thread_id: 521  Schema: nfvo  QC_hit: No
# Query_time: 0.000820  Lock_time: 0.000142  Rows_sent: 1  Rows_examined: 2
# Rows_affected: 0  Bytes_sent: 558
SET timestamp=1619910231;
SELECT TABLE_SCHEMA TABLE_CAT, NULL  TABLE_SCHEM,  TABLE_NAME, IF(TABLE_TYPE='BASE TABLE' or TABLE_TYPE='SYSTEM VERSIONED', 'TABLE', TABLE_TYPE) as TABLE_TYPE, TABLE_COMMENT REMARKS, NULL TYPE_CAT, NULL TYPE_SCHEM, NULL TYPE_NAME, NULL SELF_REFERENCING_COL_NAME,  NULL REF_GENERATION FROM INFORMATION_SCHEMA.TABLES  WHERE (TABLE_SCHEMA = 'nfvo') AND TABLE_NAME LIKE 'flyway_schema_history'  ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: so_admin[so_admin] @  [10.242.49.47]
# Thread_id: 521  Schema: nfvo  QC_hit: No
# Query_time: 0.000251  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 114
SET timestamp=1619910231;
SELECT variable_name FROM information_schema.user_variables WHERE variable_value IS NOT NULL;
# Time: 210501 23:03:53
# User@Host: so_admin[so_admin] @  [10.242.49.47]
# Thread_id: 521  Schema: nfvo  QC_hit: No
# Query_time: 0.004211  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 6
# Rows_affected: 0  Bytes_sent: 92
SET timestamp=1619910233;
select table_name from information_schema.TABLES where table_schema = database() and table_type = 'SEQUENCE';
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 525  Schema:   QC_hit: No
# Query_time: 0.000169  Lock_time: 0.000114  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910233;
SELECT
                  page_size, buffer_pool_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.000187  Lock_time: 0.000143  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910233;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 23:03:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 530  Schema:   QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910238;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 530  Schema:   QC_hit: No
# Query_time: 0.000139  Lock_time: 0.000095  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910238;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 23:04:03
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 538  Schema:   QC_hit: No
# Query_time: 0.028055  Lock_time: 0.027978  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910243;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 538  Schema:   QC_hit: No
# Query_time: 0.037820  Lock_time: 0.037672  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910243;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 23:04:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 539  Schema:   QC_hit: No
# Query_time: 0.026402  Lock_time: 0.026316  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910248;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 539  Schema:   QC_hit: No
# Query_time: 0.000160  Lock_time: 0.000120  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910248;
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.4.107]
# Thread_id: 532  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.009842  Lock_time: 0.009730  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 63
use vid_openecomp_epsdk;
SET timestamp=1619910248;
SELECT COUNT(*) FROM vid_openecomp_epsdk.DATABASECHANGELOGLOCK;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 532  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000094  Lock_time: 0.000058  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1619910248;
DELETE FROM vid_openecomp_epsdk.DATABASECHANGELOGLOCK;
# Time: 210501 23:04:09
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 532  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001292  Lock_time: 0.000311  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 521
SET timestamp=1619910249;
SELECT TABLE_SCHEMA TABLE_CAT, NULL  TABLE_SCHEM,  TABLE_NAME, IF(TABLE_TYPE='BASE TABLE', '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 = 'vid_openecomp_epsdk') AND (TABLE_NAME = 'DATABASECHANGELOG') AND TABLE_TYPE IN ('BASE TABLE') ORDER BY TABLE_TYPE, TABLE_SCHEMA, TABLE_NAME;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 532  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001429  Lock_time: 0.001279  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 63
SET timestamp=1619910249;
SELECT COUNT(*) FROM vid_openecomp_epsdk.DATABASECHANGELOG;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 532  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000081  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1355
SET timestamp=1619910249;
SELECT * FROM vid_openecomp_epsdk.DATABASECHANGELOG ORDER BY DATEEXECUTED ASC, ORDEREXECUTED ASC;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 532  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000156  Lock_time: 0.000098  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 63
SET timestamp=1619910249;
SELECT COUNT(*) FROM vid_openecomp_epsdk.DATABASECHANGELOGLOCK;
# Time: 210501 23:04:12
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 532  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001365  Lock_time: 0.001199  Rows_sent: 1  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 72
SET timestamp=1619910252;
SELECT MAX(ORDEREXECUTED) FROM vid_openecomp_epsdk.DATABASECHANGELOG;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 532  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.007023  Lock_time: 0.006937  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1619910252;
DELETE FROM `fn_datasource`;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 532  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001512  Lock_time: 0.001460  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1619910252;
DELETE FROM `fn_role_function`;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 532  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000134  Lock_time: 0.000041  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1619910252;
DELETE FROM `fn_restricted_url`;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 532  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001376  Lock_time: 0.001343  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1619910252;
DELETE FROM `fn_tab_selected`;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 532  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000084  Lock_time: 0.000044  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1619910252;
DELETE FROM `fn_tab`;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 532  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001190  Lock_time: 0.001156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1619910252;
DELETE FROM `fn_function`;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 532  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001250  Lock_time: 0.001220  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1619910252;
DELETE FROM `fn_lu_alert_method`;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 532  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001247  Lock_time: 0.001215  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1619910252;
DELETE FROM `fn_lu_activity`;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 532  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001314  Lock_time: 0.001277  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1619910252;
DELETE FROM `fn_lu_call_times`;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 532  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001274  Lock_time: 0.001239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1619910252;
DELETE FROM `fn_lu_country`;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 532  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001465  Lock_time: 0.001432  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1619910252;
DELETE FROM `fn_lu_menu_set`;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 532  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001419  Lock_time: 0.001383  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1619910252;
DELETE FROM `fn_lu_priority`;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 532  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001406  Lock_time: 0.001374  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1619910252;
DELETE FROM `fn_lu_state`;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 532  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001277  Lock_time: 0.001244  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1619910252;
DELETE FROM `fn_lu_tab_set`;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 532  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000128  Lock_time: 0.000044  Rows_sent: 0  Rows_examined: 16
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1619910252;
update fn_menu set active_yn = 'Y' where label = 'Admin';
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 532  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000120  Lock_time: 0.000030  Rows_sent: 0  Rows_examined: 16
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1619910252;
update fn_menu set active_yn = 'Y' where label = 'Root';
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 532  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000124  Lock_time: 0.000031  Rows_sent: 0  Rows_examined: 16
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1619910252;
update fn_menu set action = 'admin' where label = 'Admin';
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 532  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001581  Lock_time: 0.001483  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1619910252;
delete from `vid_openecomp_epsdk`.`vid_service_info`;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 532  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000107  Lock_time: 0.000055  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 11
SET timestamp=1619910252;
delete from `vid_openecomp_epsdk`.`vid_job`;
# Time: 210501 23:04:13
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 532  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001462  Lock_time: 0.001375  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1619910253;
UPDATE `vid_openecomp_epsdk`.`vid_service_info` SET `IS_A_LA_CARTE` = 0 WHERE ISNULL(`IS_A_LA_CARTE`);
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 542  Schema:   QC_hit: No
# Query_time: 0.000127  Lock_time: 0.000069  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910253;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 542  Schema:   QC_hit: No
# Query_time: 0.040906  Lock_time: 0.040807  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910253;
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.4.107]
# Thread_id: 532  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002037  Lock_time: 0.001943  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 52
SET timestamp=1619910253;
UPDATE `vid_openecomp_epsdk`.`vid_service_info` SET `ACTION` = 'INSTANTIATE' where ISNULL(ACTION);
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 532  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000335  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 17
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1619910253;
UPDATE `vid_openecomp_epsdk`.`fn_menu` SET `ACTION` = 'welcome' WHERE `ACTION` = 'welcome.htm';
# Time: 210501 23:04:14
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 532  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001515  Lock_time: 0.000071  Rows_sent: 0  Rows_examined: 45
# Rows_affected: 45  Bytes_sent: 54
SET timestamp=1619910254;
UPDATE `vid_openecomp_epsdk`.`fn_function` SET `type` = 'menu', `action` = '*';
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 532  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000231  Lock_time: 0.000054  Rows_sent: 0  Rows_examined: 45
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1619910254;
UPDATE `vid_openecomp_epsdk`.`fn_function` SET `type` = 'url' WHERE `FUNCTION_NAME`='Login';
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 532  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000183  Lock_time: 0.000044  Rows_sent: 0  Rows_examined: 17
# Rows_affected: 1  Bytes_sent: 52
SET timestamp=1619910254;
UPDATE `vid_openecomp_epsdk`.`fn_menu` SET `LABEL`='Browse SDC Service Models' WHERE `LABEL`='Browse ASDC Service Models';
# Time: 210501 23:04:18
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 532  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001664  Lock_time: 0.001443  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 866
SET timestamp=1619910258;
SELECT schema_id,datasource_type,connection_url,user_name,password,driver_class,min_pool_size,max_pool_size,idle_connection_test_period FROM schema_info;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 543  Schema:   QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000175  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910258;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 543  Schema:   QC_hit: No
# Query_time: 0.000145  Lock_time: 0.000086  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910258;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 23:04:19
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 532  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000545  Lock_time: 0.000327  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910259;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:04:18.645684' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000719  Lock_time: 0.000196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910259;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000913  Lock_time: 0.000376  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910259;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000178  Lock_time: 0.000053  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910259;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:04:18.925731' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000229  Lock_time: 0.000067  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910259;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 532  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000543  Lock_time: 0.000096  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910259;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000397  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910259;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 545  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000197  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910259;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:04:18.930995' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000168  Lock_time: 0.000074  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910259;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:04:18.936591' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 545  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000381  Lock_time: 0.000086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910259;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000258  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910259;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:04:18.941536' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:04:20
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910260;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:04:21
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000154  Lock_time: 0.000054  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910261;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:04:20.770383' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:04:22
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001142  Lock_time: 0.000525  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910262;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:04:23
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 547  Schema:   QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000161  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910263;
SELECT
		  page_size, compress_ops, 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.000163  Lock_time: 0.000117  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910263;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000423  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910263;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:04:22.774477' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:04:24
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000448  Lock_time: 0.000191  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910264;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000504  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910264;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:04:25
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000307  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910265;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:04:24.775211' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:04:26
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000348  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910266;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:04:25.769795' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001322  Lock_time: 0.000912  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910266;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:04:27
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000227  Lock_time: 0.000069  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910267;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:04:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 548  Schema:   QC_hit: No
# Query_time: 0.000229  Lock_time: 0.000156  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910268;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 548  Schema:   QC_hit: No
# Query_time: 0.000143  Lock_time: 0.000098  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910268;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910268;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:04:27.769381' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:04:29
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000826  Lock_time: 0.000208  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910269;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000409  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910269;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:04:28.770159' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:04:30
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001169  Lock_time: 0.000932  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910270;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000367  Lock_time: 0.000193  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910270;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:04:29.768864' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:04:31
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910271;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000224  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910271;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:04:30.770216' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:04:32
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000693  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910272;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:04:31.76875' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:04:33
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 552  Schema:   QC_hit: No
# Query_time: 0.000207  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910273;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 552  Schema:   QC_hit: No
# Query_time: 0.000189  Lock_time: 0.000130  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910273;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001059  Lock_time: 0.000906  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910273;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001433  Lock_time: 0.001005  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910273;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:04:34
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910274;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:04:33.769325' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:04:35
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000313  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910275;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:04:34.773458' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000356  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910275;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:04:34.774376' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:04:36
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000227  Lock_time: 0.000079  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910276;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:04:35.768771' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000258  Lock_time: 0.000068  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910276;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:04:35.769278' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:04:37
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000527  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910277;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:04:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 559  Schema:   QC_hit: No
# Query_time: 0.000256  Lock_time: 0.000162  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910278;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 559  Schema:   QC_hit: No
# Query_time: 0.000170  Lock_time: 0.000109  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910278;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001359  Lock_time: 0.000998  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910278;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000334  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910278;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:04:37.77031' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:04:39
# User@Host: so_user[so_user] @  [10.242.49.49]
# Thread_id: 551  Schema: requestdb  QC_hit: No
# Query_time: 0.020976  Lock_time: 0.000239  Rows_sent: 0  Rows_examined: 16
# Rows_affected: 0  Bytes_sent: 92
use requestdb;
SET timestamp=1619910279;
select table_name from information_schema.TABLES where table_schema = database() and table_type = 'SEQUENCE';
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001158  Lock_time: 0.000725  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1619910279;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910279;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:04:38.771023' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:04:40
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000519  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910280;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:04:41
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910281;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000223  Lock_time: 0.000084  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910281;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:04:40.769893' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:04:42
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000325  Lock_time: 0.000181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910282;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:04:41.769758' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:04:43
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 562  Schema:   QC_hit: No
# Query_time: 0.000231  Lock_time: 0.000131  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910283;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 562  Schema:   QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000139  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910283;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000335  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910283;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:04:42.768933' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910283;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:04:42.768784' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:04:44
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001998  Lock_time: 0.001138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910284;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:04:45
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001183  Lock_time: 0.001041  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910285;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:04:44.769341' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:04:46
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000607  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910286;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000231  Lock_time: 0.000076  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910286;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:04:45.773003' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:04:47
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000542  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910287;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:04:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 563  Schema:   QC_hit: No
# Query_time: 0.000172  Lock_time: 0.000105  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910288;
SELECT
		  page_size, compress_ops, 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.000197  Lock_time: 0.000149  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910288;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000241  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910288;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000179  Lock_time: 0.000076  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910288;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:04:47.770239' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:04:49
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000062  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910289;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:04:48.771456' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000276  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910289;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:04:48.771899' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:04:50
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000383  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910290;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001074  Lock_time: 0.000968  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910290;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:04:49.76971' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:04:51
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000305  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910291;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:04:52
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000793  Lock_time: 0.000279  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910292;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000284  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910292;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:04:51.773528' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:04:53
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 566  Schema:   QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000196  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910293;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 566  Schema:   QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910293;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000775  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910293;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000460  Lock_time: 0.000354  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910293;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:04:52.771875' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:04:54
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000321  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910294;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910294;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:04:53.76957' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:04:55
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000201  Lock_time: 0.000085  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910295;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:04:54.769375' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:04:56
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000863  Lock_time: 0.000734  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910296;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000637  Lock_time: 0.000548  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910296;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:04:55.768919' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:04:57
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000878  Lock_time: 0.000728  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910297;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:04:56.769813' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:04:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 567  Schema:   QC_hit: No
# Query_time: 0.000462  Lock_time: 0.000207  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910298;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 567  Schema:   QC_hit: No
# Query_time: 0.000326  Lock_time: 0.000212  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910298;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000343  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910298;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000882  Lock_time: 0.000425  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910298;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:04:59
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000575  Lock_time: 0.000416  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910299;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:04:58.76879' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:00
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000251  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910300;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:04:59.769083' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000400  Lock_time: 0.000072  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910300;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:05:01
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000381  Lock_time: 0.000075  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910301;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:05:02
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000251  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910302;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910302;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:01.769745' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:03
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 570  Schema:   QC_hit: No
# Query_time: 0.000251  Lock_time: 0.000157  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910303;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 570  Schema:   QC_hit: No
# Query_time: 0.000195  Lock_time: 0.000132  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910303;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910303;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:02.769329' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001468  Lock_time: 0.001025  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910303;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:05:04
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001148  Lock_time: 0.000997  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910304;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:03.768924' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:05
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000409  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910305;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:04.771748' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000550  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910305;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:04.771463' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:06
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001116  Lock_time: 0.000996  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910306;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:07
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001340  Lock_time: 0.001200  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910307;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 571  Schema:   QC_hit: No
# Query_time: 0.005373  Lock_time: 0.005276  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910308;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 571  Schema:   QC_hit: No
# Query_time: 0.000195  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910308;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910308;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000191  Lock_time: 0.000093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910308;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:07.769019' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:09
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000219  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910309;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:08.769243' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:10
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001487  Lock_time: 0.001001  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910310;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000207  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910310;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:09.771925' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:11
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002296  Lock_time: 0.002146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910311;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:10.769017' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:12
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000091  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910312;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:11.769368' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:13
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 574  Schema:   QC_hit: No
# Query_time: 0.000188  Lock_time: 0.000113  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910313;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 574  Schema:   QC_hit: No
# Query_time: 0.000157  Lock_time: 0.000114  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910313;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000375  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910313;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:12.775203' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:14
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910314;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:13.768388' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000449  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910314;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:13.768842' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:15
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000339  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910315;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000526  Lock_time: 0.000303  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910315;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:14.768846' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:16
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000228  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910316;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:15.775888' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:17
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910317;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:16.76864' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000194  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910317;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 575  Schema:   QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000165  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910318;
SELECT
		  page_size, compress_ops, 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.000141  Lock_time: 0.000093  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910318;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000302  Lock_time: 0.000174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910318;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:19
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000729  Lock_time: 0.000284  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910319;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000178  Lock_time: 0.000062  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910319;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:18.769848' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:20
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001517  Lock_time: 0.001070  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910320;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001590  Lock_time: 0.001497  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910320;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:21
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001168  Lock_time: 0.001055  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910321;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:20.769415' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:22
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000253  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910322;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:21.769623' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:23
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 578  Schema:   QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910323;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 578  Schema:   QC_hit: No
# Query_time: 0.000447  Lock_time: 0.000266  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910323;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000194  Lock_time: 0.000051  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910323;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:22.768777' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:24
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000244  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910324;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:23.770016' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:25
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000284  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910325;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:24.770116' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000403  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910325;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:26
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001108  Lock_time: 0.000975  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910326;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:27
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000089  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910327;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:26.772949' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 579  Schema:   QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000155  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910328;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 579  Schema:   QC_hit: No
# Query_time: 0.000644  Lock_time: 0.000423  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910328;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000727  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910328;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000174  Lock_time: 0.000055  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910328;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:27.768921' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:29
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000185  Lock_time: 0.000059  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910329;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:28.769424' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:30
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000970  Lock_time: 0.000632  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910330;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:29.768901' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:31
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.008510  Lock_time: 0.008113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910331;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.008252  Lock_time: 0.008152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910331;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:30.769815' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:32
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000638  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910332;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000182  Lock_time: 0.000066  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910332;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:31.769502' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:33
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 582  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=1619910333;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 582  Schema:   QC_hit: No
# Query_time: 0.000210  Lock_time: 0.000113  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910333;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000205  Lock_time: 0.000068  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910333;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000192  Lock_time: 0.000050  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910333;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:32.772301' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:34
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000574  Lock_time: 0.000468  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910334;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:35
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004514  Lock_time: 0.004325  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910335;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:34.769339' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:36
# User@Host: so_user[so_user] @  [10.242.98.222]
# Thread_id: 465  Schema: camundabpmn  QC_hit: No
# Query_time: 0.002676  Lock_time: 0.001867  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1619910336;
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-05-01 23:05:36.396'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-05-01 23:05:36.396')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '5bf91847-aad1-11eb-9f20-e65e71e6bf1c'
	   
	 ) 
	)
   
   
         
        )
       

      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-05-01 23:05:36.396')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1619910336;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:37
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000348  Lock_time: 0.000078  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910337;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:36.769494' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 583  Schema:   QC_hit: No
# Query_time: 0.000327  Lock_time: 0.000217  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910338;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 583  Schema:   QC_hit: No
# Query_time: 0.000192  Lock_time: 0.000126  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910338;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000314  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910338;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:37.768829' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000877  Lock_time: 0.000745  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910338;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:39
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001023  Lock_time: 0.000873  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910339;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:38.769519' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:40
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000294  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910340;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:41
# User@Host: so_user[so_user] @  [10.242.98.222]
# Thread_id: 465  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001039  Lock_time: 0.000472  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1619910341;
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-05-01 23:05:41.396'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-05-01 23:05:41.396')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '5bf91847-aad1-11eb-9f20-e65e71e6bf1c'
	   
	 ) 
	)
   
   
         
        )
       

      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-05-01 23:05:41.396')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000563  Lock_time: 0.000238  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1619910341;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:05:42
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000321  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910342;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:41.768808' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:43
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 586  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=1619910343;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 586  Schema:   QC_hit: No
# Query_time: 0.000127  Lock_time: 0.000078  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910343;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000392  Lock_time: 0.000191  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910343;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000213  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910343;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:42.770352' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:44
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000418  Lock_time: 0.000202  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910344;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000965  Lock_time: 0.000257  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910344;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:05:45
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000269  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910345;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:46
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000322  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910346;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910346;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:45.769104' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:47
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000248  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910347;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000298  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910347;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:46.768901' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 587  Schema:   QC_hit: No
# Query_time: 0.000276  Lock_time: 0.000181  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910348;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 587  Schema:   QC_hit: No
# Query_time: 0.000159  Lock_time: 0.000117  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910348;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000081  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910348;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000175  Lock_time: 0.000072  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910348;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:47.768884' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:49
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910349;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910349;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:48.769573' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:50
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001129  Lock_time: 0.000983  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910350;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:49.769063' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001666  Lock_time: 0.001506  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910350;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:51
# User@Host: so_user[so_user] @  [10.242.98.222]
# Thread_id: 465  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001862  Lock_time: 0.000945  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1619910351;
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-05-01 23:05:51.396'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-05-01 23:05:51.396')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '5bf91847-aad1-11eb-9f20-e65e71e6bf1c'
	   
	 ) 
	)
   
   
         
        )
       

      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-05-01 23:05:51.396')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000625  Lock_time: 0.000468  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1619910351;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:50.769405' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:52
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910352;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:51.771579' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000329  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910352;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:51.772217' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:53
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 590  Schema:   QC_hit: No
# Query_time: 0.000355  Lock_time: 0.000234  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910353;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 590  Schema:   QC_hit: No
# Query_time: 0.000227  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910353;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910353;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000196  Lock_time: 0.000070  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910353;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:52.769278' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:54
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910354;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:55
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004439  Lock_time: 0.004283  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910355;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:54.768739' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:56
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000605  Lock_time: 0.000155  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910356;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000383  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910356;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:55.774337' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:57
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000499  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910357;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000221  Lock_time: 0.000078  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910357;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:56.770172' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 591  Schema:   QC_hit: No
# Query_time: 0.000200  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910358;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 591  Schema:   QC_hit: No
# Query_time: 0.000125  Lock_time: 0.000087  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910358;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910358;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:57.77155' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000327  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910358;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:57.771444' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:05:59
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000623  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910359;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:06:00
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000257  Lock_time: 0.000089  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910360;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:59.76908' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000082  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910360;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:05:59.768788' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:01
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000765  Lock_time: 0.000375  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910361;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000280  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910361;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:00.769147' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:02
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000074  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910362;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:01.769299' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000089  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910362;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:01.769058' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:03
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 594  Schema:   QC_hit: No
# Query_time: 0.000163  Lock_time: 0.000094  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910363;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 594  Schema:   QC_hit: No
# Query_time: 0.000374  Lock_time: 0.000231  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910363;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000566  Lock_time: 0.000316  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910363;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:02.769174' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000347  Lock_time: 0.000182  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910363;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:02.769822' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:04
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000463  Lock_time: 0.000253  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910364;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:03.769377' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910364;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:05
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000239  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910365;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:04.770685' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:06
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000241  Lock_time: 0.000073  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910366;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001664  Lock_time: 0.001435  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910366;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:05.769' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:07
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000242  Lock_time: 0.000065  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910367;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 595  Schema:   QC_hit: No
# Query_time: 0.000364  Lock_time: 0.000257  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910368;
SELECT
		  page_size, compress_ops, 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.000180  Lock_time: 0.000126  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910368;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000251  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910368;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:07.771653' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:09
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000749  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910369;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000727  Lock_time: 0.000366  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910369;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:08.77196' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:10
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001433  Lock_time: 0.001223  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910370;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:09.768923' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:11
# User@Host: so_user[so_user] @  [10.242.98.222]
# Thread_id: 465  Schema: camundabpmn  QC_hit: No
# Query_time: 0.000646  Lock_time: 0.000216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1619910371;
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-05-01 23:06:11.396'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-05-01 23:06:11.396')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '5bf91847-aad1-11eb-9f20-e65e71e6bf1c'
	   
	 ) 
	)
   
   
         
        )
       

      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-05-01 23:06:11.396')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.008000  Lock_time: 0.007831  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1619910371;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:10.768751' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:12
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000198  Lock_time: 0.000062  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910372;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:11.76896' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000468  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910372;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:13
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 598  Schema:   QC_hit: No
# Query_time: 0.000196  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910373;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 598  Schema:   QC_hit: No
# Query_time: 0.000112  Lock_time: 0.000075  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910373;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000385  Lock_time: 0.000078  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910373;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:06:14
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000261  Lock_time: 0.000071  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910374;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:13.769024' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:15
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001008  Lock_time: 0.000808  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910375;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:14.768915' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000200  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910375;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:16
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001057  Lock_time: 0.000914  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910376;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:15.76894' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000165  Lock_time: 0.000049  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910376;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:15.769287' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:17
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000096  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910377;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:16.771863' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 599  Schema:   QC_hit: No
# Query_time: 0.000168  Lock_time: 0.000095  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910378;
SELECT
                  page_size, buffer_pool_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.000204  Lock_time: 0.000136  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910378;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000542  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910378;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:06:19
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000381  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910379;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:20
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000351  Lock_time: 0.000208  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910380;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:19.768557' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:21
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000192  Lock_time: 0.000064  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910381;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:20.769463' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:22
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.006741  Lock_time: 0.006586  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910382;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:21.769265' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.006783  Lock_time: 0.006596  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910382;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:21.769235' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:23
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 602  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=1619910383;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 602  Schema:   QC_hit: No
# Query_time: 0.000176  Lock_time: 0.000118  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910383;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000741  Lock_time: 0.000568  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910383;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:22.770133' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:24
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000561  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910384;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:06:25
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000434  Lock_time: 0.000296  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910385;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:24.771396' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:26
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000269  Lock_time: 0.000090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910386;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000159  Lock_time: 0.000054  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910386;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:25.772093' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:27
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002353  Lock_time: 0.002195  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910387;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:26.769728' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 603  Schema:   QC_hit: No
# Query_time: 0.000224  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910388;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 603  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=1619910388;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000063  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910388;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:27.771715' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000199  Lock_time: 0.000090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910388;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:27.772052' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:29
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000459  Lock_time: 0.000234  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910389;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:30
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000096  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910390;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:29.769142' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:31
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000643  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910391;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000251  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910391;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:30.76993' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:32
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001415  Lock_time: 0.001074  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910392;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002450  Lock_time: 0.001338  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910392;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:06:33
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 606  Schema:   QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000171  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910393;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 606  Schema:   QC_hit: No
# Query_time: 0.001496  Lock_time: 0.001411  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910393;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.010124  Lock_time: 0.009958  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910393;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:32.769074' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:34
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000275  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910394;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:33.769129' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001140  Lock_time: 0.000993  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910394;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:33.770849' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:35
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000215  Lock_time: 0.000085  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910395;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000632  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910395;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:06:36
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000242  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910396;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:35.769778' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:37
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000346  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910397;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000309  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910397;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:36.769918' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 607  Schema:   QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000159  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910398;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 607  Schema:   QC_hit: No
# Query_time: 0.000236  Lock_time: 0.000166  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910398;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002725  Lock_time: 0.001235  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910398;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:06:39
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910399;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001595  Lock_time: 0.001461  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910399;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:38.769552' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:40
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000202  Lock_time: 0.000068  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910400;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000205  Lock_time: 0.000081  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910400;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:39.769355' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:41
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000539  Lock_time: 0.000431  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910401;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:40.769337' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:42
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910402;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:43
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 610  Schema:   QC_hit: No
# Query_time: 0.000171  Lock_time: 0.000110  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910403;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 610  Schema:   QC_hit: No
# Query_time: 0.000197  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910403;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001237  Lock_time: 0.001095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910403;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000194  Lock_time: 0.000071  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910403;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:42.771576' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:44
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001101  Lock_time: 0.000920  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910404;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:43.768406' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:45
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001313  Lock_time: 0.001077  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910405;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001647  Lock_time: 0.001083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910405;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:06:46
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000362  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910406;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000314  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910406;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:45.770505' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:47
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001727  Lock_time: 0.001536  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910407;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:46.769268' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001725  Lock_time: 0.001524  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910407;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:46.769108' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 611  Schema:   QC_hit: No
# Query_time: 0.000269  Lock_time: 0.000168  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910408;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 611  Schema:   QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000164  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910408;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000168  Lock_time: 0.000062  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910408;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:47.771393' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:49
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000522  Lock_time: 0.000190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910409;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000374  Lock_time: 0.000207  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910409;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:48.768848' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:50
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910410;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:49.769265' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:51
# User@Host: so_user[so_user] @  [10.242.98.222]
# Thread_id: 465  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001102  Lock_time: 0.000550  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1619910411;
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-05-01 23:06:51.399'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-05-01 23:06:51.399')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '5bf91847-aad1-11eb-9f20-e65e71e6bf1c'
	   
	 ) 
	)
   
   
         
        )
       

      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-05-01 23:06:51.399')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001216  Lock_time: 0.000899  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1619910411;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:06:52
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001456  Lock_time: 0.001294  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910412;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:51.768891' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001586  Lock_time: 0.001339  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910412;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:51.769271' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:53
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 614  Schema:   QC_hit: No
# Query_time: 0.000224  Lock_time: 0.000165  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910413;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 614  Schema:   QC_hit: No
# Query_time: 0.000157  Lock_time: 0.000119  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910413;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910413;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000397  Lock_time: 0.000227  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910413;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:52.771208' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000284  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910413;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:52.772044' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:54
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000763  Lock_time: 0.000283  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910414;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000317  Lock_time: 0.000096  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910414;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:53.769488' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:55
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000238  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910415;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:54.770761' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:56
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000693  Lock_time: 0.000218  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910416;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:06:57
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910417;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:56.772603' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 615  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=1619910418;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 615  Schema:   QC_hit: No
# Query_time: 0.000175  Lock_time: 0.000126  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910418;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000217  Lock_time: 0.000078  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910418;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:06:59
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000321  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910419;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:58.769299' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  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=1619910419;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:58.768866' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:00
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000200  Lock_time: 0.000089  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910420;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:06:59.768692' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:01
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000189  Lock_time: 0.000075  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910421;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:00.769716' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:02
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000361  Lock_time: 0.000174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910422;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:03
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 618  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=1619910423;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 618  Schema:   QC_hit: No
# Query_time: 0.000129  Lock_time: 0.000090  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910423;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000085  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910423;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:02.769575' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:04
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000292  Lock_time: 0.000107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910424;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000318  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910424;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:03.771462' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:05
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000278  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910425;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:04.769274' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:06
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000922  Lock_time: 0.000537  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910426;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:07:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 619  Schema:   QC_hit: No
# Query_time: 0.000289  Lock_time: 0.000186  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910428;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 619  Schema:   QC_hit: No
# Query_time: 0.000159  Lock_time: 0.000101  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910428;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000374  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910428;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:07:09
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910429;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:10
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910430;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:09.768952' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000360  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910430;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:09.769408' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:11
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000578  Lock_time: 0.000368  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910431;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:10.768947' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000898  Lock_time: 0.000646  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910431;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:12
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001296  Lock_time: 0.001031  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910432;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:11.76898' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001077  Lock_time: 0.000655  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910432;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:11.769321' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:13
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 622  Schema:   QC_hit: No
# Query_time: 0.000135  Lock_time: 0.000090  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910433;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 622  Schema:   QC_hit: No
# Query_time: 0.000102  Lock_time: 0.000066  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910433;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000313  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910433;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910433;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:12.77133' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000170  Lock_time: 0.000080  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910433;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:12.776319' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:14
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000170  Lock_time: 0.000059  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910434;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:13.768982' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000449  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910434;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:07:15
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000257  Lock_time: 0.000086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910435;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:14.772063' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910435;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:14.771818' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:16
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910436;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:15.769131' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000642  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910436;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:07:17
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000073  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910437;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:16.769314' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000154  Lock_time: 0.000051  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910437;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:16.769678' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 623  Schema:   QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000167  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910438;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 623  Schema:   QC_hit: No
# Query_time: 0.000136  Lock_time: 0.000091  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910438;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001346  Lock_time: 0.001208  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910438;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001596  Lock_time: 0.001092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910438;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:07:19
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000466  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910439;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000898  Lock_time: 0.000789  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910439;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:18.768696' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:20
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000625  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910440;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:07:21
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910441;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:20.768765' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:22
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000355  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910442;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:21.769367' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:23
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 626  Schema:   QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000195  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910443;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 626  Schema:   QC_hit: No
# Query_time: 0.000227  Lock_time: 0.000174  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910443;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001298  Lock_time: 0.001065  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910443;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:22.768907' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001080  Lock_time: 0.000805  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910443;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:22.768907' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:24
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000601  Lock_time: 0.000406  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910444;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001189  Lock_time: 0.000648  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910444;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:07:25
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000650  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910445;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000265  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910445;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:24.768874' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:26
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000358  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910446;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:27
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000077  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910447;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:26.769034' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000955  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910447;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:07:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 627  Schema:   QC_hit: No
# Query_time: 0.000198  Lock_time: 0.000142  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910448;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 627  Schema:   QC_hit: No
# Query_time: 0.000107  Lock_time: 0.000067  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910448;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000411  Lock_time: 0.000260  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910448;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000174  Lock_time: 0.000063  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910448;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:27.768652' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:29
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000462  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910449;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000349  Lock_time: 0.000241  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910449;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:28.769323' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:30
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000701  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910450;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:31
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000534  Lock_time: 0.000292  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910451;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:30.768732' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:32
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001101  Lock_time: 0.000658  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910452;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:31.76882' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:33
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 630  Schema:   QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000162  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910453;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 630  Schema:   QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910453;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000296  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910453;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000713  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910453;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000265  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910453;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:32.771993' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:34
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000391  Lock_time: 0.000200  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910454;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001006  Lock_time: 0.000874  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910454;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:33.771694' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:35
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000431  Lock_time: 0.000236  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910455;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:34.769285' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000348  Lock_time: 0.000107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910455;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:34.76967' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:36
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000540  Lock_time: 0.000080  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910456;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:07:37
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000511  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910457;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:36.770084' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 631  Schema:   QC_hit: No
# Query_time: 0.000403  Lock_time: 0.000250  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910458;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 631  Schema:   QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000149  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910458;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910458;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000820  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910458;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910458;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:37.77232' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:39
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001480  Lock_time: 0.001253  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910459;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:38.769531' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000236  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910459;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:40
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000227  Lock_time: 0.000078  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910460;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000425  Lock_time: 0.000287  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910460;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:39.768604' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:41
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000200  Lock_time: 0.000076  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910461;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:40.769012' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:42
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000303  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910462;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000091  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910462;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:41.769573' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:43
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 634  Schema:   QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000163  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910463;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 634  Schema:   QC_hit: No
# Query_time: 0.000214  Lock_time: 0.000154  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910463;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000157  Lock_time: 0.000057  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910463;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:44
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000468  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910464;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:07:45
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000608  Lock_time: 0.000375  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910465;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:44.769758' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:46
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000305  Lock_time: 0.000170  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910466;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:45.768569' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:47
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000333  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910467;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000214  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910467;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:46.770597' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 635  Schema:   QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000168  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910468;
SELECT
		  page_size, compress_ops, 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.000289  Lock_time: 0.000198  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910468;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000350  Lock_time: 0.000185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910468;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000323  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910468;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:47.769232' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:49
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910469;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:48.770949' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:50
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000882  Lock_time: 0.000224  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910470;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000886  Lock_time: 0.000694  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910470;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:49.768873' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:51
# User@Host: so_user[so_user] @  [10.242.98.222]
# Thread_id: 465  Schema: camundabpmn  QC_hit: No
# Query_time: 0.002036  Lock_time: 0.001061  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1619910471;
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-05-01 23:07:51.399'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-05-01 23:07:51.399')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '5bf91847-aad1-11eb-9f20-e65e71e6bf1c'
	   
	 ) 
	)
   
   
         
        )
       

      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-05-01 23:07:51.399')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000188  Lock_time: 0.000065  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1619910471;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:50.77132' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:52
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000320  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910472;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910472;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:51.768433' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:53
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 638  Schema:   QC_hit: No
# Query_time: 0.000177  Lock_time: 0.000089  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910473;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 638  Schema:   QC_hit: No
# Query_time: 0.000141  Lock_time: 0.000098  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910473;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000280  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910473;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:52.768912' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:54
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000209  Lock_time: 0.000076  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910474;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:53.769229' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:55
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000307  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910475;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:54.772695' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:56
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000266  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910476;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000333  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910476;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:55.768886' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:57
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000185  Lock_time: 0.000060  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910477;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000357  Lock_time: 0.000182  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910477;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:56.7694' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 639  Schema:   QC_hit: No
# Query_time: 0.000209  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910478;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 639  Schema:   QC_hit: No
# Query_time: 0.000139  Lock_time: 0.000096  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910478;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000244  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910478;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:57.771802' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:07:59
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000228  Lock_time: 0.000077  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910479;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000241  Lock_time: 0.000096  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910479;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:58.777106' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:00
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000169  Lock_time: 0.000053  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910480;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:07:59.768964' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:01
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000230  Lock_time: 0.000063  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910481;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:00.770266' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:02
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000310  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910482;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:01.769205' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000299  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910482;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:01.768875' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:03
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 642  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=1619910483;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 642  Schema:   QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000150  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910483;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910483;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:02.771778' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000410  Lock_time: 0.000271  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910483;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:02.771425' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:04
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000572  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910484;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:08:05
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000468  Lock_time: 0.000079  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910485;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000198  Lock_time: 0.000076  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910485;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:04.77164' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:06
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000085  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910486;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:05.769658' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000969  Lock_time: 0.000504  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910486;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:08:07
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910487;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:06.769263' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 643  Schema:   QC_hit: No
# Query_time: 0.000258  Lock_time: 0.000173  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910488;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 643  Schema:   QC_hit: No
# Query_time: 0.000099  Lock_time: 0.000063  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910488;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910488;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000207  Lock_time: 0.000081  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910488;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:07.771223' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:09
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910489;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:08.771507' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000425  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910489;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:08.772111' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:10
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000343  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910490;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001001  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910490;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:08:11
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910491;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:10.769337' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:12
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000261  Lock_time: 0.000089  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910492;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:11.769259' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000084  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910492;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:11.768863' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:13
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 646  Schema:   QC_hit: No
# Query_time: 0.000136  Lock_time: 0.000076  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910493;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 646  Schema:   QC_hit: No
# Query_time: 0.000149  Lock_time: 0.000103  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910493;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000241  Lock_time: 0.000077  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910493;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000509  Lock_time: 0.000397  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910493;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:12.769756' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:14
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000882  Lock_time: 0.000544  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910494;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:13.76914' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:15
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000403  Lock_time: 0.000211  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910495;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:14.770071' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:16
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000280  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910496;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910496;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:15.7686' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:17
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000202  Lock_time: 0.000081  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910497;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:16.769358' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 647  Schema:   QC_hit: No
# Query_time: 0.000253  Lock_time: 0.000185  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910498;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 647  Schema:   QC_hit: No
# Query_time: 0.000150  Lock_time: 0.000101  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910498;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000541  Lock_time: 0.000279  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910498;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:17.771929' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:19
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000278  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910499;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:18.768668' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910499;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:18.768488' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:20
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000673  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910500;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:08:21
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000684  Lock_time: 0.000523  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910501;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:20.768806' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:22
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002380  Lock_time: 0.002247  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910502;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:21.768643' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:23
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 650  Schema:   QC_hit: No
# Query_time: 0.000198  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910503;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 650  Schema:   QC_hit: No
# Query_time: 0.000202  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910503;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001320  Lock_time: 0.000892  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910503;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001326  Lock_time: 0.000841  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910503;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:22.769273' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:24
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002314  Lock_time: 0.002054  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910504;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:23.76906' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:25
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000863  Lock_time: 0.000463  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910505;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000391  Lock_time: 0.000235  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910505;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:24.7684' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:26
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000403  Lock_time: 0.000215  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910506;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:25.77242' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:27
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000229  Lock_time: 0.000077  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910507;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:26.768278' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001791  Lock_time: 0.001316  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910507;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:08:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 651  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=1619910508;
SELECT
		  page_size, compress_ops, 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.000139  Lock_time: 0.000099  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910508;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000229  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910508;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:27.768432' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:29
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000347  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910509;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:28.768753' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000437  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910509;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:08:30
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000325  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910510;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:31
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000305  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910511;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:30.769602' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:32
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001022  Lock_time: 0.000773  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910512;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000574  Lock_time: 0.000289  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910512;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:31.768842' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:33
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 654  Schema:   QC_hit: No
# Query_time: 0.000186  Lock_time: 0.000118  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910513;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 654  Schema:   QC_hit: No
# Query_time: 0.000129  Lock_time: 0.000082  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910513;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001039  Lock_time: 0.000896  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910513;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000545  Lock_time: 0.000388  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910513;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:32.77016' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:34
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000457  Lock_time: 0.000236  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910514;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:35
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000346  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910515;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:34.768755' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:37
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910517;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:36.76838' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004632  Lock_time: 0.004427  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910517;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:36.769169' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 655  Schema:   QC_hit: No
# Query_time: 0.000248  Lock_time: 0.000170  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910518;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 655  Schema:   QC_hit: No
# Query_time: 0.000217  Lock_time: 0.000117  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910518;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000645  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910518;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000522  Lock_time: 0.000393  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910518;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:37.769959' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:39
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000370  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910519;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:40
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000574  Lock_time: 0.000337  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910520;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:39.768802' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:41
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000450  Lock_time: 0.000285  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910521;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:40.76947' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:42
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001179  Lock_time: 0.000976  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910522;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:41.768814' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001133  Lock_time: 0.000930  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910522;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:41.768814' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:43
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 658  Schema:   QC_hit: No
# Query_time: 0.000161  Lock_time: 0.000119  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910523;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 658  Schema:   QC_hit: No
# Query_time: 0.000171  Lock_time: 0.000068  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910523;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000715  Lock_time: 0.000538  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910523;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:42.769705' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000807  Lock_time: 0.000625  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910523;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:42.769403' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:44
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000298  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910524;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:43.768597' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:45
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000291  Lock_time: 0.000080  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910525;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:44.768531' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:46
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000598  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910526;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000180  Lock_time: 0.000064  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910526;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:45.768776' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:47
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000407  Lock_time: 0.000070  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910527;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:46.771431' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 659  Schema:   QC_hit: No
# Query_time: 0.000393  Lock_time: 0.000254  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910528;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 659  Schema:   QC_hit: No
# Query_time: 0.000248  Lock_time: 0.000171  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910528;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910528;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000780  Lock_time: 0.000280  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910528;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:08:49
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000286  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910529;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:48.769446' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:50
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000079  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910530;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:49.769092' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000333  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910530;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:49.768725' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:51
# User@Host: so_user[so_user] @  [10.242.98.222]
# Thread_id: 465  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001002  Lock_time: 0.000450  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1619910531;
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-05-01 23:08:51.401'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-05-01 23:08:51.401')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '5bf91847-aad1-11eb-9f20-e65e71e6bf1c'
	   
	 ) 
	)
   
   
         
        )
       

      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-05-01 23:08:51.401')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000415  Lock_time: 0.000253  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1619910531;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:50.768648' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:52
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000496  Lock_time: 0.000319  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910532;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:51.768672' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:53
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 662  Schema:   QC_hit: No
# Query_time: 0.000186  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910533;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 662  Schema:   QC_hit: No
# Query_time: 0.000156  Lock_time: 0.000114  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910533;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000276  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910533;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000894  Lock_time: 0.000761  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910533;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:52.76961' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:54
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001028  Lock_time: 0.000863  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910534;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:53.769349' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001728  Lock_time: 0.001213  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910534;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:08:55
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001090  Lock_time: 0.000924  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910535;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:54.769568' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000449  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910535;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:08:56
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001205  Lock_time: 0.000972  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910536;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:55.770292' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001384  Lock_time: 0.001246  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910536;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:55.770272' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:57
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001819  Lock_time: 0.001648  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910537;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:56.771147' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 663  Schema:   QC_hit: No
# Query_time: 0.000475  Lock_time: 0.000363  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910538;
SELECT
                  page_size, buffer_pool_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.000221  Lock_time: 0.000137  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910538;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000639  Lock_time: 0.000498  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910538;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000376  Lock_time: 0.000250  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910538;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:57.768574' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:08:59
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000244  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910539;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:58.77041' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:00
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000081  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910540;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:08:59.771673' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:01
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000713  Lock_time: 0.000208  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910541;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000558  Lock_time: 0.000066  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910541;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:00.768906' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:02
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910542;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:03
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 666  Schema:   QC_hit: No
# Query_time: 0.000175  Lock_time: 0.000099  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910543;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 666  Schema:   QC_hit: No
# Query_time: 0.000123  Lock_time: 0.000077  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910543;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000305  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910543;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:02.772319' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:04
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000269  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910544;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000368  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910544;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:03.76871' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:05
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000566  Lock_time: 0.000381  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910545;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:04.769524' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:06
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910546;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910546;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:05.774203' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:07
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001095  Lock_time: 0.000910  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910547;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 667  Schema:   QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000197  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910548;
SELECT
		  page_size, compress_ops, 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.000435  Lock_time: 0.000388  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910548;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910548;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000190  Lock_time: 0.000079  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910548;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:07.771334' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000186  Lock_time: 0.000067  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910548;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:07.771623' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:09
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000657  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910549;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000653  Lock_time: 0.000476  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910549;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:08.768564' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:10
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001249  Lock_time: 0.000708  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910550;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:09:11
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000428  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910551;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000624  Lock_time: 0.000534  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910551;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:12
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000405  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910552;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:11.770359' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:13
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 670  Schema:   QC_hit: No
# Query_time: 0.000251  Lock_time: 0.000156  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910553;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 670  Schema:   QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000172  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910553;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000241  Lock_time: 0.000083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910553;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:14
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000617  Lock_time: 0.000476  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910554;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:13.769209' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:15
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000888  Lock_time: 0.000684  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910555;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001416  Lock_time: 0.000873  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910555;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:09:16
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910556;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:15.770552' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:17
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910557;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000302  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910557;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:16.771175' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 671  Schema:   QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000192  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910558;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 671  Schema:   QC_hit: No
# Query_time: 0.000118  Lock_time: 0.000076  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910558;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000256  Lock_time: 0.000075  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910558;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:17.76908' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:19
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  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=1619910559;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:18.769389' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000373  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910559;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:18.768973' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:20
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001352  Lock_time: 0.001171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910560;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:21
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000364  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910561;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:20.769188' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:22
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910562;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:21.773555' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:23
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 674  Schema:   QC_hit: No
# Query_time: 0.000300  Lock_time: 0.000177  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910563;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 674  Schema:   QC_hit: No
# Query_time: 0.000213  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910563;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000357  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910563;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:24
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910564;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:23.768572' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:25
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000323  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910565;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:24.768693' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000336  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910565;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:24.769081' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:26
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000355  Lock_time: 0.000085  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910566;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000724  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910566;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:09:27
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000698  Lock_time: 0.000507  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910567;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:26.769205' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000320  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910567;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:26.769747' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 675  Schema:   QC_hit: No
# Query_time: 0.000179  Lock_time: 0.000125  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910568;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 675  Schema:   QC_hit: No
# Query_time: 0.000131  Lock_time: 0.000094  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910568;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000604  Lock_time: 0.000359  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910568;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:27.769269' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:29
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000389  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910569;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:28.769513' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:30
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000909  Lock_time: 0.000779  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910570;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:29.768832' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:31
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001208  Lock_time: 0.001051  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910571;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:30.769688' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:32
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000370  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910572;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:33
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 678  Schema:   QC_hit: No
# Query_time: 0.000239  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910573;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 678  Schema:   QC_hit: No
# Query_time: 0.000174  Lock_time: 0.000130  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910573;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000192  Lock_time: 0.000084  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910573;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:32.769432' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:34
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000219  Lock_time: 0.000049  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910574;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:33.768749' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000498  Lock_time: 0.000363  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910574;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:33.768472' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:35
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000257  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910575;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:34.769331' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:36
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000266  Lock_time: 0.000089  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910576;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910576;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:35.771652' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:37
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001502  Lock_time: 0.001166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910577;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:09:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 679  Schema:   QC_hit: No
# Query_time: 0.000257  Lock_time: 0.000143  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910578;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 679  Schema:   QC_hit: No
# Query_time: 0.000359  Lock_time: 0.000306  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910578;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000164  Lock_time: 0.000063  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910578;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:40
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000417  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910580;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000089  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910580;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:39.7693' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:41
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001089  Lock_time: 0.000755  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910581;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:09:42
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000208  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910582;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:41.769762' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:43
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 682  Schema:   QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000194  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910583;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 682  Schema:   QC_hit: No
# Query_time: 0.000199  Lock_time: 0.000142  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910583;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000504  Lock_time: 0.000326  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910583;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:42.768671' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:44
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001695  Lock_time: 0.001438  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910584;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:43.769152' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001813  Lock_time: 0.001550  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910584;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:43.769371' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:45
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000265  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910585;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001032  Lock_time: 0.000930  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910585;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:44.769394' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:46
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001019  Lock_time: 0.000908  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910586;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:45.769921' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:47
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000231  Lock_time: 0.000093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910587;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:46.768582' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 683  Schema:   QC_hit: No
# Query_time: 0.000280  Lock_time: 0.000195  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910588;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 683  Schema:   QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000130  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910588;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000709  Lock_time: 0.000215  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910588;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000508  Lock_time: 0.000394  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910588;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:49
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000258  Lock_time: 0.000083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910589;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:48.769878' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:50
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000302  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910590;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000335  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910590;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:49.769123' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:51
# User@Host: so_user[so_user] @  [10.242.98.222]
# Thread_id: 465  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001239  Lock_time: 0.000596  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1619910591;
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-05-01 23:09:51.401'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-05-01 23:09:51.401')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '5bf91847-aad1-11eb-9f20-e65e71e6bf1c'
	   
	 ) 
	)
   
   
         
        )
       

      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-05-01 23:09:51.401')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001747  Lock_time: 0.001608  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1619910591;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910591;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:50.770982' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:52
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002732  Lock_time: 0.001313  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910592;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:09:53
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 686  Schema:   QC_hit: No
# Query_time: 0.000219  Lock_time: 0.000149  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910593;
SELECT
		  page_size, compress_ops, 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.000176  Lock_time: 0.000139  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910593;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910593;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000907  Lock_time: 0.000666  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910593;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:52.769676' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:54
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  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=1619910594;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:53.771018' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000415  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910594;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:53.770187' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:55
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001445  Lock_time: 0.001287  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910595;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001773  Lock_time: 0.001361  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910595;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:09:56
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910596;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:55.772211' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:57
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000405  Lock_time: 0.000213  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910597;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000621  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910597;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:09:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 687  Schema:   QC_hit: No
# Query_time: 0.000201  Lock_time: 0.000137  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910598;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 687  Schema:   QC_hit: No
# Query_time: 0.000135  Lock_time: 0.000092  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910598;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000322  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910598;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:57.769846' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:09:59
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910599;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:00
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000820  Lock_time: 0.000674  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910600;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:59.768862' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000874  Lock_time: 0.000713  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910600;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:09:59.769139' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:01
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000788  Lock_time: 0.000661  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910601;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:00.769657' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:02
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910602;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:01.77135' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000208  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910602;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:01.771666' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:03
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 690  Schema:   QC_hit: No
# Query_time: 0.000228  Lock_time: 0.000123  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910603;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 690  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=1619910603;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000592  Lock_time: 0.000196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910603;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000471  Lock_time: 0.000274  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910603;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:02.768868' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:04
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000274  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910604;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:03.769021' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:05
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002557  Lock_time: 0.002273  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910605;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:04.770862' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003507  Lock_time: 0.002823  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910605;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:10:06
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000439  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910606;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910606;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:05.775852' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:07
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000379  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910607;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000074  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910607;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:06.770177' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 691  Schema:   QC_hit: No
# Query_time: 0.000193  Lock_time: 0.000110  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910608;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 691  Schema:   QC_hit: No
# Query_time: 0.000313  Lock_time: 0.000202  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910608;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000219  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910608;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:07.768899' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:09
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000261  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910609;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000317  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910609;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:08.770122' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:10
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000361  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910610;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:09.771687' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:11
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910611;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000426  Lock_time: 0.000260  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910611;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:10.768399' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:12
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000586  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910612;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:10:13
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 694  Schema:   QC_hit: No
# Query_time: 0.000140  Lock_time: 0.000080  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910613;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 694  Schema:   QC_hit: No
# Query_time: 0.000194  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910613;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000574  Lock_time: 0.000283  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910613;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000251  Lock_time: 0.000067  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910613;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:12.769444' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:14
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002101  Lock_time: 0.001966  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910614;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:13.76885' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001450  Lock_time: 0.001253  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910614;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:13.768646' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:15
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000542  Lock_time: 0.000353  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910615;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:14.769885' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:16
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001152  Lock_time: 0.000996  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910616;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000871  Lock_time: 0.000713  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910616;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:15.769707' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:17
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910617;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:16.77188' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 695  Schema:   QC_hit: No
# Query_time: 0.000195  Lock_time: 0.000124  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910618;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 695  Schema:   QC_hit: No
# Query_time: 0.000133  Lock_time: 0.000091  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910618;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000420  Lock_time: 0.000212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910618;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000269  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910618;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:17.769089' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:19
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000360  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910619;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:18.772313' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000413  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910619;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:18.771926' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:20
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000155  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910620;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000347  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910620;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:19.768495' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:21
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910621;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:22
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000278  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910622;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:21.768831' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000887  Lock_time: 0.000232  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910622;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:10:23
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 698  Schema:   QC_hit: No
# Query_time: 0.000150  Lock_time: 0.000091  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910623;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 698  Schema:   QC_hit: No
# Query_time: 0.000103  Lock_time: 0.000068  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910623;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000538  Lock_time: 0.000417  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910623;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:22.768844' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:24
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000326  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910624;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:23.768843' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:25
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000350  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910625;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:24.769285' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:26
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000276  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910626;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:25.771089' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000407  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910626;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:25.771403' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:27
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000377  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910627;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:26.769227' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001158  Lock_time: 0.001053  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910627;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:26.769087' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 699  Schema:   QC_hit: No
# Query_time: 0.000161  Lock_time: 0.000098  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910628;
SELECT
		  page_size, compress_ops, 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.000106  Lock_time: 0.000069  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910628;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000193  Lock_time: 0.000065  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910628;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:27.768789' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:29
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000335  Lock_time: 0.000083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910629;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:28.771541' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:30
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000430  Lock_time: 0.000268  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910630;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000351  Lock_time: 0.000074  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910630;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:29.768869' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:31
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000042  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910631;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:30.770454' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000143  Lock_time: 0.000049  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910631;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:30.769484' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:32
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001120  Lock_time: 0.000487  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910632;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001189  Lock_time: 0.001059  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910632;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:33
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 702  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=1619910633;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 702  Schema:   QC_hit: No
# Query_time: 0.000206  Lock_time: 0.000130  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910633;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910633;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:32.771116' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:34
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000352  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910634;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000416  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910634;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:33.771732' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:35
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000879  Lock_time: 0.000227  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910635;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910635;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:34.772727' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:36
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000636  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910636;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000075  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910636;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:37
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000306  Lock_time: 0.000074  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910637;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:36.768898' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 703  Schema:   QC_hit: No
# Query_time: 0.001323  Lock_time: 0.001245  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910638;
SELECT
		  page_size, compress_ops, 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.000277  Lock_time: 0.000233  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910638;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000280  Lock_time: 0.000068  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910638;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:37.768714' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:39
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000208  Lock_time: 0.000064  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910639;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:38.768609' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000600  Lock_time: 0.000191  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910639;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:10:40
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910640;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:39.76894' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001483  Lock_time: 0.000889  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910640;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:10:41
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000238  Lock_time: 0.000082  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910641;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:40.768692' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001131  Lock_time: 0.000935  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910641;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:40.769363' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:42
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000574  Lock_time: 0.000266  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910642;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:41.768848' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:43
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 706  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=1619910643;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 706  Schema:   QC_hit: No
# Query_time: 0.000155  Lock_time: 0.000102  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910643;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910643;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:42.769597' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000079  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910643;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:42.769888' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:44
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000299  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910644;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:43.768907' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000069  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910644;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:43.768684' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:45
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000492  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910645;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910645;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:44.769236' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:46
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910646;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:45.771857' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:47
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910647;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 707  Schema:   QC_hit: No
# Query_time: 0.000227  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910648;
SELECT
		  page_size, compress_ops, 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.000140  Lock_time: 0.000088  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910648;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000173  Lock_time: 0.000057  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910648;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:49
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000328  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910649;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:48.771782' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:50
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000463  Lock_time: 0.000310  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910650;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910650;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:49.771571' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:51
# User@Host: so_user[so_user] @  [10.242.98.222]
# Thread_id: 465  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001703  Lock_time: 0.000884  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1619910651;
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-05-01 23:10:51.398'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-05-01 23:10:51.398')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '5bf91847-aad1-11eb-9f20-e65e71e6bf1c'
	   
	 ) 
	)
   
   
         
        )
       

      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-05-01 23:10:51.398')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000411  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1619910651;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:50.768716' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000460  Lock_time: 0.000235  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910651;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:50.768757' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:52
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000791  Lock_time: 0.000197  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910652;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000406  Lock_time: 0.000076  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910652;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:51.768962' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:53
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 710  Schema:   QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000132  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910653;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 710  Schema:   QC_hit: No
# Query_time: 0.000236  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910653;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000811  Lock_time: 0.000616  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910653;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:52.769008' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001414  Lock_time: 0.001072  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910653;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:52.768798' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:54
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000987  Lock_time: 0.000847  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910654;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000915  Lock_time: 0.000810  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910654;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:53.76881' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:55
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001151  Lock_time: 0.000998  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910655;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:54.768693' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:56
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000595  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910656;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000195  Lock_time: 0.000073  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910656;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:55.773838' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:57
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000514  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910657;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:10:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 711  Schema:   QC_hit: No
# Query_time: 0.000228  Lock_time: 0.000158  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910658;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 711  Schema:   QC_hit: No
# Query_time: 0.000313  Lock_time: 0.000214  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910658;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000294  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910658;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:57.769135' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:10:59
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000331  Lock_time: 0.000167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910659;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:58.769484' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:00
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910660;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:10:59.769098' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:01
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001320  Lock_time: 0.001075  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910661;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001529  Lock_time: 0.001146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910661;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:11:03
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 714  Schema:   QC_hit: No
# Query_time: 0.000515  Lock_time: 0.000350  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910663;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 714  Schema:   QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000164  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910663;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000578  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910663;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910663;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:02.769068' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:04
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000618  Lock_time: 0.000512  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910664;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:03.772132' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:05
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000546  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910665;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000353  Lock_time: 0.000211  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910665;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:04.769268' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:06
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000952  Lock_time: 0.000798  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910666;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:05.768913' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:07
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000507  Lock_time: 0.000283  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910667;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:06.768853' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001482  Lock_time: 0.001044  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910667;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:11:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 715  Schema:   QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000164  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910668;
SELECT
		  page_size, compress_ops, 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.000164  Lock_time: 0.000108  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910668;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002233  Lock_time: 0.002068  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910668;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:07.769107' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003086  Lock_time: 0.002531  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910668;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:11:09
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000261  Lock_time: 0.000083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910669;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:08.769742' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:10
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000627  Lock_time: 0.000282  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910670;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000561  Lock_time: 0.000448  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910670;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:09.768681' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:11
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000594  Lock_time: 0.000396  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910671;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:10.76858' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000281  Lock_time: 0.000083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910671;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:10.768593' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:12
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000354  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910672;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:11.76903' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:13
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 718  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=1619910673;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 718  Schema:   QC_hit: No
# Query_time: 0.000172  Lock_time: 0.000128  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910673;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000597  Lock_time: 0.000402  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910673;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:12.769004' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001627  Lock_time: 0.001371  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910673;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:14
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000389  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910674;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:13.771262' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:15
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000946  Lock_time: 0.000566  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910675;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:11:16
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000414  Lock_time: 0.000208  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910676;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:15.768645' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:17
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000439  Lock_time: 0.000291  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910677;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000214  Lock_time: 0.000077  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910677;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:16.769188' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 719  Schema:   QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000180  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910678;
SELECT
                  page_size, buffer_pool_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.000254  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910678;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000327  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910678;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000250  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910678;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:17.769651' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:19
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910679;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:18.771994' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:20
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000446  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910680;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:11:21
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910681;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:20.769236' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:22
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000248  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910682;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000197  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910682;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:21.769623' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:23
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 722  Schema:   QC_hit: No
# Query_time: 0.000169  Lock_time: 0.000105  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910683;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 722  Schema:   QC_hit: No
# Query_time: 0.000146  Lock_time: 0.000097  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910683;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000484  Lock_time: 0.000308  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910683;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:22.768615' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001092  Lock_time: 0.000907  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910683;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:22.768878' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:24
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003480  Lock_time: 0.003267  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910684;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002657  Lock_time: 0.002385  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910684;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:23.769328' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:25
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000365  Lock_time: 0.000190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910685;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:24.771759' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:26
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910686;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:27
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000840  Lock_time: 0.000652  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910687;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:26.768921' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 723  Schema:   QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000225  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910688;
SELECT
		  page_size, compress_ops, 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.000252  Lock_time: 0.000209  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910688;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000499  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910688;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:11:29
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000823  Lock_time: 0.000631  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910689;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:28.768434' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:30
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000734  Lock_time: 0.000469  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910690;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:29.769595' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  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=1619910690;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:29.76878' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:31
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000333  Lock_time: 0.000207  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910691;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:30.768617' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:32
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000341  Lock_time: 0.000167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910692;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:31.769486' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000420  Lock_time: 0.000196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910692;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:31.769423' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:33
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 726  Schema:   QC_hit: No
# Query_time: 0.000167  Lock_time: 0.000101  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910693;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 726  Schema:   QC_hit: No
# Query_time: 0.000112  Lock_time: 0.000071  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910693;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000455  Lock_time: 0.000292  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910693;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000643  Lock_time: 0.000289  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910693;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:11:34
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000366  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910694;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:33.76908' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:35
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000836  Lock_time: 0.000607  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910695;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:34.769056' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001360  Lock_time: 0.001137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910695;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:36
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000653  Lock_time: 0.000436  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910696;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:35.770191' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:37
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000310  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910697;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001392  Lock_time: 0.001065  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910697;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000387  Lock_time: 0.000212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910697;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:36.771306' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 727  Schema:   QC_hit: No
# Query_time: 0.000241  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910698;
SELECT
		  page_size, compress_ops, 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.000217  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910698;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000714  Lock_time: 0.000431  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910698;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:37.770098' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001125  Lock_time: 0.000820  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910698;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:37.769508' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:39
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000370  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910699;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:38.769649' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:40
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000280  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910700;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000217  Lock_time: 0.000080  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910700;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:39.769611' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:41
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000893  Lock_time: 0.000745  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910701;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:40.76948' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:42
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002898  Lock_time: 0.002760  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910702;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:41.76863' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:43
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 730  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=1619910703;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 730  Schema:   QC_hit: No
# Query_time: 0.000178  Lock_time: 0.000132  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910703;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000567  Lock_time: 0.000182  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910703;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:11:44
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910704;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:45
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000791  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910705;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000386  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910705;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:44.769353' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:46
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000386  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910706;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:45.774878' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:47
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000253  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910707;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:46.76955' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 731  Schema:   QC_hit: No
# Query_time: 0.000195  Lock_time: 0.000118  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910708;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 731  Schema:   QC_hit: No
# Query_time: 0.000107  Lock_time: 0.000067  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910708;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910708;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:47.769641' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:49
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000315  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910709;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:48.768794' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000071  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910709;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:48.76907' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:50
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000269  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910710;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:49.770522' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:51
# User@Host: so_user[so_user] @  [10.242.98.222]
# Thread_id: 465  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001387  Lock_time: 0.000678  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1619910711;
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-05-01 23:11:51.401'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-05-01 23:11:51.401')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '5bf91847-aad1-11eb-9f20-e65e71e6bf1c'
	   
	 ) 
	)
   
   
         
        )
       

      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-05-01 23:11:51.401')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1619910711;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:50.771663' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000366  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910711;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:50.771522' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:52
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000402  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910712;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001491  Lock_time: 0.001279  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910712;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:51.768899' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:53
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 734  Schema:   QC_hit: No
# Query_time: 0.000191  Lock_time: 0.000117  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910713;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 734  Schema:   QC_hit: No
# Query_time: 0.000167  Lock_time: 0.000114  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910713;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910713;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000322  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910713;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:52.769594' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:54
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000330  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910714;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:53.769586' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910714;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:53.770313' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:55
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000629  Lock_time: 0.000256  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910715;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000203  Lock_time: 0.000084  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910715;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:54.769895' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:56
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000961  Lock_time: 0.000834  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910716;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:55.768723' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:57
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000545  Lock_time: 0.000360  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910717;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:56.77328' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 735  Schema:   QC_hit: No
# Query_time: 0.000876  Lock_time: 0.000765  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910718;
SELECT
		  page_size, compress_ops, 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.000180  Lock_time: 0.000121  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910718;
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.4.107]
# Thread_id: 533  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=1619910718;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:57.768862' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000190  Lock_time: 0.000071  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910718;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:57.769255' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:11:59
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000333  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910719;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:58.76905' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:00
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910720;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:59.769111' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000378  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910720;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:11:59.769394' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:01
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000199  Lock_time: 0.000065  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910721;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:00.772133' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:02
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000937  Lock_time: 0.000230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910722;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000229  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910722;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:01.768322' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:03
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 738  Schema:   QC_hit: No
# Query_time: 0.000330  Lock_time: 0.000255  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910723;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 738  Schema:   QC_hit: No
# Query_time: 0.000217  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910723;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000349  Lock_time: 0.000180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910723;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:02.768725' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000426  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910723;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:02.768492' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:04
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000528  Lock_time: 0.000229  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910724;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:03.771318' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000313  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910724;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:03.77033' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:05
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000241  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910725;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000564  Lock_time: 0.000453  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910725;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:04.768556' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:06
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000236  Lock_time: 0.000071  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910726;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:05.773411' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:07
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001282  Lock_time: 0.001116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910727;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:06.771228' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001273  Lock_time: 0.001133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910727;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:06.771633' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 739  Schema:   QC_hit: No
# Query_time: 0.001070  Lock_time: 0.000957  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910728;
SELECT
		  page_size, compress_ops, 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.000177  Lock_time: 0.000131  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910728;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000289  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910728;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000171  Lock_time: 0.000069  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910728;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:07.768976' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:09
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000447  Lock_time: 0.000074  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910729;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:08.768471' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:10
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001351  Lock_time: 0.000292  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910730;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:12:11
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000317  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910731;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:10.768675' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000256  Lock_time: 0.000072  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910731;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:10.768935' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:12
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000799  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910732;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:12:13
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 742  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=1619910733;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 742  Schema:   QC_hit: No
# Query_time: 0.000115  Lock_time: 0.000073  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910733;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000197  Lock_time: 0.000070  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910733;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:14
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000317  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910734;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:13.770463' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:15
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.017813  Lock_time: 0.017620  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910735;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:14.769773' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.017312  Lock_time: 0.017028  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910735;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:14.769272' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:16
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001236  Lock_time: 0.001102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910736;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001540  Lock_time: 0.001216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910736;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:12:17
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000855  Lock_time: 0.000564  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910737;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:16.769103' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 743  Schema:   QC_hit: No
# Query_time: 0.000188  Lock_time: 0.000107  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910738;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 743  Schema:   QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000131  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910738;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000538  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910738;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001204  Lock_time: 0.001074  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910738;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:17.768627' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:19
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001367  Lock_time: 0.001122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910739;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:18.768926' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:20
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000340  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910740;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:19.769514' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:21
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910741;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:22
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000274  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910742;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:21.769027' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000298  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910742;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:21.768588' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:23
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 746  Schema:   QC_hit: No
# Query_time: 0.000185  Lock_time: 0.000117  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910743;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 746  Schema:   QC_hit: No
# Query_time: 0.000148  Lock_time: 0.000100  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910743;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910743;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:22.768659' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000788  Lock_time: 0.000231  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910743;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:12:24
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000079  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910744;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:23.769029' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:25
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000490  Lock_time: 0.000350  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910745;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:26
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000316  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910746;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:25.777369' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:27
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000079  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910747;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:26.770129' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000326  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910747;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:26.770786' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 747  Schema:   QC_hit: No
# Query_time: 0.000224  Lock_time: 0.000157  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910748;
SELECT
                  page_size, buffer_pool_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.000189  Lock_time: 0.000125  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910748;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000582  Lock_time: 0.000220  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910748;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000265  Lock_time: 0.000091  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910748;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:27.768907' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:29
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000197  Lock_time: 0.000078  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910749;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:28.770254' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:30
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000355  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910750;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:29.769122' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:31
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000334  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910751;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:30.772768' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:32
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000284  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910752;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:33
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 750  Schema:   QC_hit: No
# Query_time: 0.000135  Lock_time: 0.000089  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910753;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 750  Schema:   QC_hit: No
# Query_time: 0.000110  Lock_time: 0.000069  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910753;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000281  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910753;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:32.769281' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:34
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000183  Lock_time: 0.000067  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910754;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000189  Lock_time: 0.000035  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910754;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:33.7687' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:35
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000364  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910755;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:34.769228' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000842  Lock_time: 0.000485  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910755;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:34.76946' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:36
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000629  Lock_time: 0.000459  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910756;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:37
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000756  Lock_time: 0.000224  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910757;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:12:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 751  Schema:   QC_hit: No
# Query_time: 0.000241  Lock_time: 0.000142  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910758;
SELECT
		  page_size, compress_ops, 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.000189  Lock_time: 0.000127  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910758;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000275  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910758;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:37.771281' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:39
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000690  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910759;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000345  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910759;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:38.768404' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:40
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000325  Lock_time: 0.000184  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910760;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:39.769161' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:41
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000275  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910761;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:42
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000080  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910762;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:41.77168' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:43
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 754  Schema:   QC_hit: No
# Query_time: 0.000211  Lock_time: 0.000157  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910763;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 754  Schema:   QC_hit: No
# Query_time: 0.000176  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910763;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000480  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910763;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:12:44
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000458  Lock_time: 0.000174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910764;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:43.769268' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:45
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000295  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910765;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001012  Lock_time: 0.000851  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910765;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:44.768336' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:46
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001038  Lock_time: 0.000773  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910766;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000732  Lock_time: 0.000309  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910766;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:45.768932' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:47
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001053  Lock_time: 0.000863  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910767;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:46.769047' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 755  Schema:   QC_hit: No
# Query_time: 0.000286  Lock_time: 0.000175  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910768;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 755  Schema:   QC_hit: No
# Query_time: 0.000238  Lock_time: 0.000150  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910768;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000748  Lock_time: 0.000228  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910768;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:12:49
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000296  Lock_time: 0.000057  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910769;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:48.7699' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000276  Lock_time: 0.000081  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910769;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:48.769711' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:50
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000747  Lock_time: 0.000531  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910770;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000339  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910770;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:49.76861' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:51
# User@Host: so_user[so_user] @  [10.242.98.222]
# Thread_id: 465  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001538  Lock_time: 0.000689  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1619910771;
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-05-01 23:12:51.4'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-05-01 23:12:51.4')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '5bf91847-aad1-11eb-9f20-e65e71e6bf1c'
	   
	 ) 
	)
   
   
         
        )
       

      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-05-01 23:12:51.4')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000333  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1619910771;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:50.769107' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:52
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000964  Lock_time: 0.000782  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910772;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000242  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910772;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:51.769006' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:53
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 758  Schema:   QC_hit: No
# Query_time: 0.000160  Lock_time: 0.000102  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910773;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 758  Schema:   QC_hit: No
# Query_time: 0.000126  Lock_time: 0.000087  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910773;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000697  Lock_time: 0.000573  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910773;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000191  Lock_time: 0.000057  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910773;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:52.769746' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:54
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001316  Lock_time: 0.000996  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910774;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:53.768982' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:55
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000185  Lock_time: 0.000067  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910775;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:54.769137' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000774  Lock_time: 0.000603  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910775;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:54.769404' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:56
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000084  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910776;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000207  Lock_time: 0.000077  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910776;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:55.769061' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:57
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000430  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910777;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:56.7685' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000307  Lock_time: 0.000107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910777;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:56.768869' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:12:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 759  Schema:   QC_hit: No
# Query_time: 0.000307  Lock_time: 0.000203  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910778;
SELECT
		  page_size, compress_ops, 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.000175  Lock_time: 0.000121  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910778;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910778;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000630  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910778;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:12:59
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000346  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910779;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:58.769039' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:00
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000489  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910780;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000228  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910780;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:12:59.769087' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:01
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001555  Lock_time: 0.001140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910781;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:13:02
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001252  Lock_time: 0.001114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910782;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000181  Lock_time: 0.000065  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910782;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:01.771667' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:03
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 762  Schema:   QC_hit: No
# Query_time: 0.000152  Lock_time: 0.000090  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910783;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 762  Schema:   QC_hit: No
# Query_time: 0.000121  Lock_time: 0.000080  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910783;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000790  Lock_time: 0.000639  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910783;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:02.768563' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:04
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000210  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910784;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:03.768716' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:05
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000233  Lock_time: 0.000077  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910785;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:04.768962' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000513  Lock_time: 0.000364  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910785;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:04.768943' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:06
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000506  Lock_time: 0.000107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910786;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:13:07
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000897  Lock_time: 0.000673  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910787;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:06.768941' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 763  Schema:   QC_hit: No
# Query_time: 0.000328  Lock_time: 0.000222  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910788;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 763  Schema:   QC_hit: No
# Query_time: 0.000168  Lock_time: 0.000113  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910788;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000388  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910788;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:07.770077' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:09
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000972  Lock_time: 0.000835  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910789;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:08.769108' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:10
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000336  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910790;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000588  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910790;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:13:11
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000383  Lock_time: 0.000173  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910791;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:10.769126' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:12
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000077  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910792;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:11.769628' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000206  Lock_time: 0.000096  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910792;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:11.769288' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:13
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 766  Schema:   QC_hit: No
# Query_time: 0.000251  Lock_time: 0.000190  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910793;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 766  Schema:   QC_hit: No
# Query_time: 0.000141  Lock_time: 0.000099  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910793;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910793;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000833  Lock_time: 0.000708  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910793;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:12.768648' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:14
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000540  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910794;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:13.768662' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:15
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000501  Lock_time: 0.000312  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910795;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000195  Lock_time: 0.000055  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910795;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:14.771837' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:16
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000791  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910796;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:15.769235' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  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=1619910796;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:15.769639' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:17
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000256  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910797;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001269  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910797;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000084  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910797;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:16.772765' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 767  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=1619910798;
SELECT
		  page_size, compress_ops, 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.000117  Lock_time: 0.000071  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910798;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910798;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000177  Lock_time: 0.000063  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910798;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:17.769412' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:19
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000592  Lock_time: 0.000200  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910799;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:18.768594' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  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=1619910799;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:18.768978' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:20
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000214  Lock_time: 0.000072  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910800;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:19.769388' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000062  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910800;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:19.769389' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:21
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.007810  Lock_time: 0.007666  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910801;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:22
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910802;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:23
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 770  Schema:   QC_hit: No
# Query_time: 0.000199  Lock_time: 0.000136  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910803;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 770  Schema:   QC_hit: No
# Query_time: 0.000168  Lock_time: 0.000114  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910803;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000460  Lock_time: 0.000257  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910803;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:22.769163' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:24
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000823  Lock_time: 0.000610  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910804;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:23.768309' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000950  Lock_time: 0.000664  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910804;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:23.768941' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:25
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000770  Lock_time: 0.000200  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910805;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910805;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:24.773326' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:26
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000845  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910806;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000364  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910806;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:25.769504' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:27
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000256  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910807;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000152  Lock_time: 0.000057  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910807;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:26.770153' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 771  Schema:   QC_hit: No
# Query_time: 0.000176  Lock_time: 0.000104  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910808;
SELECT
		  page_size, compress_ops, 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.000124  Lock_time: 0.000085  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910808;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000064  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910808;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:27.768844' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:29
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000654  Lock_time: 0.000528  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910809;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:28.768896' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:30
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002022  Lock_time: 0.001433  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910810;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:13:31
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000192  Lock_time: 0.000080  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910811;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:30.771351' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:32
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000506  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910812;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910812;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:31.771451' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:33
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 774  Schema:   QC_hit: No
# Query_time: 0.000190  Lock_time: 0.000139  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910813;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 774  Schema:   QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000179  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910813;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000399  Lock_time: 0.000237  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910813;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910813;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:32.768645' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:34
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000197  Lock_time: 0.000089  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910814;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:33.768964' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:35
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000250  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910815;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:34.768879' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:36
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000230  Lock_time: 0.000081  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910816;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:35.768781' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:37
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000251  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910817;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000325  Lock_time: 0.000219  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910817;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:36.771937' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 775  Schema:   QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000183  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910818;
SELECT
		  page_size, compress_ops, 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.000168  Lock_time: 0.000110  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910818;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000334  Lock_time: 0.000182  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910818;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:37.768292' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000336  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910818;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:37.76846' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:39
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000233  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910819;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:38.769626' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:40
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000339  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910820;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:41
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000366  Lock_time: 0.000207  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910821;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:40.769446' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:42
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000802  Lock_time: 0.000612  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910822;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:41.768909' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:43
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 778  Schema:   QC_hit: No
# Query_time: 0.000154  Lock_time: 0.000095  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910823;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 778  Schema:   QC_hit: No
# Query_time: 0.000169  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910823;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000453  Lock_time: 0.000228  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910823;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:42.774964' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000647  Lock_time: 0.000246  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910823;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:13:44
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000467  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910824;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000622  Lock_time: 0.000278  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910824;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:43.769198' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:45
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910825;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000621  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910825;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:13:46
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000343  Lock_time: 0.000187  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910826;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:45.772418' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:47
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000526  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910827;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000364  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910827;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:46.768523' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 779  Schema:   QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000137  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910828;
SELECT
		  page_size, compress_ops, 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.002735  Lock_time: 0.002666  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910828;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000252  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910828;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:47.769511' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:49
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000343  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910829;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:48.769821' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:50
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910830;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:51
# User@Host: so_user[so_user] @  [10.242.98.222]
# Thread_id: 465  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001090  Lock_time: 0.000567  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1619910831;
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-05-01 23:13:51.4'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-05-01 23:13:51.4')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '5bf91847-aad1-11eb-9f20-e65e71e6bf1c'
	   
	 ) 
	)
   
   
         
        )
       

      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-05-01 23:13:51.4')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000402  Lock_time: 0.000193  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1619910831;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:50.769331' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000403  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910831;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:50.768917' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:52
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000633  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910832;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000198  Lock_time: 0.000085  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910832;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000170  Lock_time: 0.000072  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910832;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:51.776576' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000294  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910832;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:51.776876' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:53
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 782  Schema:   QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000174  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910833;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 782  Schema:   QC_hit: No
# Query_time: 0.000206  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910833;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000248  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910833;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:52.7689' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001032  Lock_time: 0.000883  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910833;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:54
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000589  Lock_time: 0.000315  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910834;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:53.769107' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:55
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001196  Lock_time: 0.000960  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910835;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:54.76903' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000617  Lock_time: 0.000332  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910835;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:54.769004' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:56
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000964  Lock_time: 0.000850  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910836;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:55.769847' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:57
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000541  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910837;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:13:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 783  Schema:   QC_hit: No
# Query_time: 0.001525  Lock_time: 0.001462  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910838;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 783  Schema:   QC_hit: No
# Query_time: 0.000133  Lock_time: 0.000090  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910838;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000370  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910838;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:57.769207' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000709  Lock_time: 0.000313  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910838;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:57.769215' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:13:59
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910839;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:58.769037' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:00
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000280  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910840;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:59.768894' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000274  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910840;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:13:59.768827' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:01
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001051  Lock_time: 0.000861  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910841;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001403  Lock_time: 0.001062  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910841;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:14:02
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001312  Lock_time: 0.001127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910842;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:01.769152' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001281  Lock_time: 0.001050  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910842;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:01.769008' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:03
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 786  Schema:   QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000161  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910843;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 786  Schema:   QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000190  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910843;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000360  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910843;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000836  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910843;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000302  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910843;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:02.771434' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:04
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000616  Lock_time: 0.000366  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910844;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910844;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:03.768528' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:05
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910845;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:04.77009' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:06
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000233  Lock_time: 0.000089  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910846;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000159  Lock_time: 0.000063  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910846;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:05.77157' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:07
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000213  Lock_time: 0.000084  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910847;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:06.771293' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000171  Lock_time: 0.000050  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910847;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:06.771592' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 787  Schema:   QC_hit: No
# Query_time: 0.000261  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910848;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 787  Schema:   QC_hit: No
# Query_time: 0.000401  Lock_time: 0.000274  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910848;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000592  Lock_time: 0.000402  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910848;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:07.768438' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000256  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910848;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:09
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000228  Lock_time: 0.000093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910849;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:10
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000324  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910850;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:09.769584' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:11
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001133  Lock_time: 0.000875  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910851;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:12
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000084  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910852;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:11.769665' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:13
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 790  Schema:   QC_hit: No
# Query_time: 0.000667  Lock_time: 0.000601  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910853;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 790  Schema:   QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000186  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910853;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001357  Lock_time: 0.000750  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910853;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001862  Lock_time: 0.001698  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910853;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:12.769108' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:14
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000258  Lock_time: 0.000074  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910854;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:13.768362' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000348  Lock_time: 0.000057  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910854;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:13.768928' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:15
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000329  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910855;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:14.770104' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000345  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910855;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:14.76953' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:16
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000061  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910856;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:15.77884' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910856;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:15.778521' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 791  Schema:   QC_hit: No
# Query_time: 0.000519  Lock_time: 0.000416  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910858;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 791  Schema:   QC_hit: No
# Query_time: 0.000289  Lock_time: 0.000250  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910858;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000538  Lock_time: 0.000244  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910858;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:17.769112' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:19
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000344  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910859;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000155  Lock_time: 0.000056  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910859;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:18.769917' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:20
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000404  Lock_time: 0.000260  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910860;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:19.768732' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:21
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910861;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000193  Lock_time: 0.000069  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910861;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:20.774166' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:22
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001202  Lock_time: 0.000575  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910862;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:21.768661' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002923  Lock_time: 0.001699  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910862;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:14:23
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 794  Schema:   QC_hit: No
# Query_time: 0.000250  Lock_time: 0.000182  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910863;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 794  Schema:   QC_hit: No
# Query_time: 0.000296  Lock_time: 0.000253  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910863;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910863;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000749  Lock_time: 0.000409  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910863;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:14:24
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000344  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910864;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:23.769086' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:25
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000613  Lock_time: 0.000460  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910865;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:24.769178' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001673  Lock_time: 0.001378  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910865;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:14:26
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000364  Lock_time: 0.000253  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910866;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:25.772247' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:27
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000223  Lock_time: 0.000091  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910867;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 795  Schema:   QC_hit: No
# Query_time: 0.000152  Lock_time: 0.000091  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910868;
SELECT
		  page_size, compress_ops, 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.000108  Lock_time: 0.000071  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910868;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000084  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910868;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:27.770289' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910868;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:27.769255' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:29
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000296  Lock_time: 0.000086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910869;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:28.771617' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:30
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000307  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910870;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910870;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:29.768419' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:31
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000656  Lock_time: 0.000483  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910871;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:30.769198' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000638  Lock_time: 0.000409  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910871;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:30.769004' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:32
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000457  Lock_time: 0.000279  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910872;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:31.768484' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:33
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 798  Schema:   QC_hit: No
# Query_time: 0.000181  Lock_time: 0.000127  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910873;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 798  Schema:   QC_hit: No
# Query_time: 0.000228  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910873;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001061  Lock_time: 0.000893  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910873;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:32.76888' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001074  Lock_time: 0.000903  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910873;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:32.768729' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:34
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000533  Lock_time: 0.000433  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910874;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:33.768855' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:35
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000517  Lock_time: 0.000278  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910875;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:34.768933' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004960  Lock_time: 0.004753  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910875;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:34.768891' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:36
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000436  Lock_time: 0.000240  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910876;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000783  Lock_time: 0.000289  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910876;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:14:37
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000486  Lock_time: 0.000222  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910877;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001776  Lock_time: 0.001374  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910877;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:14:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 799  Schema:   QC_hit: No
# Query_time: 0.000376  Lock_time: 0.000254  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910878;
SELECT
                  page_size, buffer_pool_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.000249  Lock_time: 0.000179  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910878;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000984  Lock_time: 0.000840  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910878;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000257  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910878;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:37.769435' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:39
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000680  Lock_time: 0.000269  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910879;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000818  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910879;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:38.771109' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:40
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000074  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910880;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:39.768342' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000197  Lock_time: 0.000055  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910880;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:39.768647' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:41
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000170  Lock_time: 0.000068  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910881;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:40.768728' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:42
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000315  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910882;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:41.770083' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:43
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 802  Schema:   QC_hit: No
# Query_time: 0.000178  Lock_time: 0.000100  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910883;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 802  Schema:   QC_hit: No
# Query_time: 0.000158  Lock_time: 0.000105  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910883;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000182  Lock_time: 0.000064  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910883;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:44
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000500  Lock_time: 0.000284  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910884;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:45
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001332  Lock_time: 0.001153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910885;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:44.768441' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000923  Lock_time: 0.000721  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910885;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:44.768607' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:46
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001076  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910886;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001185  Lock_time: 0.001015  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910886;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:45.769054' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:47
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001235  Lock_time: 0.001073  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910887;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:46.769794' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000184  Lock_time: 0.000070  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910887;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:46.770513' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 803  Schema:   QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910888;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 803  Schema:   QC_hit: No
# Query_time: 0.003485  Lock_time: 0.003391  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910888;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001668  Lock_time: 0.001534  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910888;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:47.769647' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:49
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000681  Lock_time: 0.000209  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910889;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:14:50
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000321  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910890;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000346  Lock_time: 0.000202  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910890;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:49.769023' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:51
# User@Host: so_user[so_user] @  [10.242.98.222]
# Thread_id: 465  Schema: camundabpmn  QC_hit: No
# Query_time: 0.002618  Lock_time: 0.001821  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1619910891;
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-05-01 23:14:51.403'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-05-01 23:14:51.403')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '5bf91847-aad1-11eb-9f20-e65e71e6bf1c'
	   
	 ) 
	)
   
   
         
        )
       

      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-05-01 23:14:51.403')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000328  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1619910891;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:50.768666' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:52
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000278  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910892;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:51.76847' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:53
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 806  Schema:   QC_hit: No
# Query_time: 0.000156  Lock_time: 0.000111  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910893;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 806  Schema:   QC_hit: No
# Query_time: 0.000119  Lock_time: 0.000078  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910893;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910893;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:52.768686' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:54
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000256  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910894;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:53.7686' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:55
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910895;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:56
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910896;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:57
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000502  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910897;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:56.768861' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000196  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910897;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:56.77041' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 807  Schema:   QC_hit: No
# Query_time: 0.000184  Lock_time: 0.000124  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910898;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 807  Schema:   QC_hit: No
# Query_time: 0.000106  Lock_time: 0.000067  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910898;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000759  Lock_time: 0.000432  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910898;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000091  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910898;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:57.768561' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:14:59
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000614  Lock_time: 0.000401  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910899;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:58.770668' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:00
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000265  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910900;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:14:59.768821' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:01
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000978  Lock_time: 0.000808  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910901;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:00.768769' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:02
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000200  Lock_time: 0.000083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910902;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:01.771389' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:03
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 810  Schema:   QC_hit: No
# Query_time: 0.000133  Lock_time: 0.000087  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910903;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 810  Schema:   QC_hit: No
# Query_time: 0.000147  Lock_time: 0.000099  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910903;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001001  Lock_time: 0.000900  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910903;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:02.768632' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:04
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000276  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910904;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:03.769601' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:05
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000299  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910905;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:04.772258' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000080  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910905;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:04.771427' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:06
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000632  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910906;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000635  Lock_time: 0.000503  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910906;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:05.768794' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:07
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910907;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:06.769381' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 811  Schema:   QC_hit: No
# Query_time: 0.000227  Lock_time: 0.000144  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910908;
SELECT
		  page_size, compress_ops, 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.000295  Lock_time: 0.000188  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910908;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000307  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910908;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:07.771078' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:09
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000427  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910909;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000177  Lock_time: 0.000067  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910909;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:08.768397' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:10
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001476  Lock_time: 0.001249  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910910;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:09.768813' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:11
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000552  Lock_time: 0.000355  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910911;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:10.768851' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:12
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000874  Lock_time: 0.000670  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910912;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:11.768578' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:13
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 814  Schema:   QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000182  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910913;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 814  Schema:   QC_hit: No
# Query_time: 0.000170  Lock_time: 0.000132  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910913;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002100  Lock_time: 0.001926  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910913;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:14
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001289  Lock_time: 0.001109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910914;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:13.768395' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:15
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000943  Lock_time: 0.000781  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910915;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:14.769243' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:17
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000949  Lock_time: 0.000268  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910917;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:15:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 815  Schema:   QC_hit: No
# Query_time: 0.000317  Lock_time: 0.000211  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910918;
SELECT
		  page_size, compress_ops, 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.000201  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910918;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000331  Lock_time: 0.000218  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910918;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:17.769355' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:19
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000329  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910919;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:18.769857' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:20
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000524  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910920;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001359  Lock_time: 0.001241  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910920;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:19.769087' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:21
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000291  Lock_time: 0.000096  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910921;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:20.769159' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001106  Lock_time: 0.000261  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910921;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:15:22
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000582  Lock_time: 0.000352  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910922;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:21.769234' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:23
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 818  Schema:   QC_hit: No
# Query_time: 0.000152  Lock_time: 0.000104  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910923;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 818  Schema:   QC_hit: No
# Query_time: 0.000137  Lock_time: 0.000094  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910923;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000371  Lock_time: 0.000203  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910923;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:22.771507' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000253  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910923;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:22.771826' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:24
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000417  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910924;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000825  Lock_time: 0.000226  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910924;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:15:25
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000284  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910925;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000497  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910925;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:15:26
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910926;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:25.768454' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000292  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910926;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:25.769043' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000444  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910926;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:15:27
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  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=1619910927;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910927;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:26.768765' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 819  Schema:   QC_hit: No
# Query_time: 0.000239  Lock_time: 0.000143  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910928;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 819  Schema:   QC_hit: No
# Query_time: 0.000198  Lock_time: 0.000124  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910928;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000199  Lock_time: 0.000055  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910928;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:27.768717' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000493  Lock_time: 0.000354  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910928;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:27.769123' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:29
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000143  Lock_time: 0.000052  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910929;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:28.76964' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:30
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910930;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:29.768621' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:31
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000281  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910931;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000494  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910931;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:15:32
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000289  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910932;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:31.771778' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:33
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 822  Schema:   QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910933;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 822  Schema:   QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000184  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910933;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000081  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910933;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:32.769162' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:34
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000206  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910934;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:33.768623' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:35
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000084  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910935;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:34.770716' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:36
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001004  Lock_time: 0.000831  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910936;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:35.77015' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:37
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000418  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910937;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000642  Lock_time: 0.000523  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910937;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:36.771436' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000979  Lock_time: 0.000834  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910937;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:36.77112' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 823  Schema:   QC_hit: No
# Query_time: 0.000400  Lock_time: 0.000280  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910938;
SELECT
		  page_size, compress_ops, 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.000282  Lock_time: 0.000193  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910938;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000694  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910938;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001239  Lock_time: 0.001076  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910938;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:37.771528' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:39
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000635  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910939;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000596  Lock_time: 0.000413  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910939;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:38.768692' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:40
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910940;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:39.769153' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:41
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000202  Lock_time: 0.000062  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910941;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:40.771901' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:42
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001477  Lock_time: 0.001312  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910942;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:41.771658' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001517  Lock_time: 0.001350  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910942;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:41.771738' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:43
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 826  Schema:   QC_hit: No
# Query_time: 0.000123  Lock_time: 0.000081  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910943;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 826  Schema:   QC_hit: No
# Query_time: 0.000113  Lock_time: 0.000075  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910943;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000441  Lock_time: 0.000303  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910943;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000572  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910943;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:15:44
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000134  Lock_time: 0.000040  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910944;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:43.76856' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:45
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000280  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910945;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:44.770186' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:46
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000342  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910946;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000465  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910946;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:15:47
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910947;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000838  Lock_time: 0.000550  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910947;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:46.769273' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 827  Schema:   QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000111  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910948;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 827  Schema:   QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000207  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910948;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000316  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910948;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:47.76879' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:49
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001029  Lock_time: 0.000862  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910949;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000486  Lock_time: 0.000260  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910949;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:48.76908' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:50
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001359  Lock_time: 0.001101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910950;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:49.769294' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001245  Lock_time: 0.000881  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910950;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:49.768955' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:51
# User@Host: so_user[so_user] @  [10.242.98.222]
# Thread_id: 465  Schema: camundabpmn  QC_hit: No
# Query_time: 0.002881  Lock_time: 0.002059  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1619910951;
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-05-01 23:15:51.41'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-05-01 23:15:51.41')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '5bf91847-aad1-11eb-9f20-e65e71e6bf1c'
	   
	 ) 
	)
   
   
         
        )
       

      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-05-01 23:15:51.41')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000355  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1619910951;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:50.770939' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000358  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910951;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:50.771374' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:52
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005602  Lock_time: 0.005367  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910952;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004929  Lock_time: 0.004646  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910952;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:51.769285' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:53
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 830  Schema:   QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000159  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910953;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 830  Schema:   QC_hit: No
# Query_time: 0.000156  Lock_time: 0.000109  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910953;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000251  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910953;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000461  Lock_time: 0.000235  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910953;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:52.769011' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:54
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000368  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910954;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:53.769296' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:55
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000602  Lock_time: 0.000386  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910955;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:54.769349' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000466  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910955;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:15:56
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001454  Lock_time: 0.001011  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910956;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910956;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:55.770577' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:57
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000289  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910957;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001410  Lock_time: 0.001241  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910957;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:56.768582' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 831  Schema:   QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000163  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910958;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 831  Schema:   QC_hit: No
# Query_time: 0.000213  Lock_time: 0.000143  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910958;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000458  Lock_time: 0.000280  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910958;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:15:59
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000826  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910959;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910959;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:58.769359' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:00
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000219  Lock_time: 0.000074  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910960;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000175  Lock_time: 0.000065  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910960;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:15:59.769579' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:01
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001004  Lock_time: 0.000670  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910961;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:00.768402' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001896  Lock_time: 0.001319  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910961;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:16:02
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000230  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910962;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000643  Lock_time: 0.000204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910962;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:16:03
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 834  Schema:   QC_hit: No
# Query_time: 0.000251  Lock_time: 0.000179  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910963;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 834  Schema:   QC_hit: No
# Query_time: 0.000199  Lock_time: 0.000161  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910963;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000382  Lock_time: 0.000202  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910963;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:02.772029' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000381  Lock_time: 0.000240  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910963;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:02.779208' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:04
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000742  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910964;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000209  Lock_time: 0.000084  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910964;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:03.769725' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:05
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000081  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910965;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:04.769032' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:06
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001129  Lock_time: 0.000805  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910966;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000228  Lock_time: 0.000082  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910966;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:05.768944' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:07
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000449  Lock_time: 0.000305  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910967;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:06.769041' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 835  Schema:   QC_hit: No
# Query_time: 0.000252  Lock_time: 0.000184  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910968;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 835  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=1619910968;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001092  Lock_time: 0.000947  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910968;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:09
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000970  Lock_time: 0.000848  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910969;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:08.768906' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:10
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910970;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:11
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000251  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910971;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:10.771129' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:12
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000242  Lock_time: 0.000075  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910972;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000878  Lock_time: 0.000732  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910972;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:11.771042' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:13
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 838  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=1619910973;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 838  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=1619910973;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000424  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910973;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:12.769294' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:14
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000649  Lock_time: 0.000185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910974;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:16:15
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000368  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910975;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:14.769196' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000469  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910975;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:14.769246' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:16
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000300  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910976;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:15.769749' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:17
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910977;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000231  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910977;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:16.76982' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 839  Schema:   QC_hit: No
# Query_time: 0.000253  Lock_time: 0.000192  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910978;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 839  Schema:   QC_hit: No
# Query_time: 0.000125  Lock_time: 0.000084  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910978;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001643  Lock_time: 0.001068  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910978;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:16:19
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000879  Lock_time: 0.000606  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910979;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:18.768873' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002014  Lock_time: 0.001254  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910979;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:16:20
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000305  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910980;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001164  Lock_time: 0.001055  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910980;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:19.768765' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:21
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000782  Lock_time: 0.000651  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910981;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:20.770038' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:22
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000327  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910982;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:23
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 842  Schema:   QC_hit: No
# Query_time: 0.000278  Lock_time: 0.000200  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910983;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 842  Schema:   QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910983;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000217  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910983;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000339  Lock_time: 0.000245  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910983;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:22.768447' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:24
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000471  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910984;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:23.76982' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:25
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001110  Lock_time: 0.000236  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910985;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001780  Lock_time: 0.001298  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910985;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:26
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000077  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910986;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:25.76872' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:27
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000322  Lock_time: 0.000096  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910987;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:26.769823' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000339  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910987;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:26.769251' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 843  Schema:   QC_hit: No
# Query_time: 0.000210  Lock_time: 0.000143  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910988;
SELECT
                  page_size, buffer_pool_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.000120  Lock_time: 0.000078  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910988;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000207  Lock_time: 0.000067  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910988;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:27.768879' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:29
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001032  Lock_time: 0.000853  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910989;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:28.76868' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:30
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000869  Lock_time: 0.000696  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910990;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:29.769309' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:31
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000331  Lock_time: 0.000203  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910991;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:30.771318' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:32
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000506  Lock_time: 0.000231  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910992;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000217  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910992;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:31.7714' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:33
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 846  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=1619910993;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 846  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=1619910993;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000462  Lock_time: 0.000264  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910993;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:32.768752' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000551  Lock_time: 0.000402  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910993;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:32.768916' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:34
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000812  Lock_time: 0.000628  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910994;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:33.769453' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:35
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910995;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:34.771625' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:36
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000404  Lock_time: 0.000208  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910996;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:35.768761' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:37
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910997;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:36.769163' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 847  Schema:   QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000143  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619910998;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 847  Schema:   QC_hit: No
# Query_time: 0.000162  Lock_time: 0.000102  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619910998;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000596  Lock_time: 0.000217  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910998;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000214  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910998;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:37.769351' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:39
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001171  Lock_time: 0.001026  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910999;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000200  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619910999;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:38.769507' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:40
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001580  Lock_time: 0.001425  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911000;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000511  Lock_time: 0.000360  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911000;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:39.7692' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:41
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911001;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:40.771533' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:42
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000738  Lock_time: 0.000218  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911002;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000207  Lock_time: 0.000086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911002;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:41.771524' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:43
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 850  Schema:   QC_hit: No
# Query_time: 0.000145  Lock_time: 0.000096  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911003;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 850  Schema:   QC_hit: No
# Query_time: 0.000108  Lock_time: 0.000068  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911003;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000500  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911003;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000183  Lock_time: 0.000062  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911003;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:42.771504' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:44
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000420  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911004;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:43.768678' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:45
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000464  Lock_time: 0.000233  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911005;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:46
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000485  Lock_time: 0.000317  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911006;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:45.769022' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:47
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001202  Lock_time: 0.001046  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911007;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:46.76955' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001352  Lock_time: 0.001137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911007;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:46.769824' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 851  Schema:   QC_hit: No
# Query_time: 0.000261  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911008;
SELECT
		  page_size, compress_ops, 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.000148  Lock_time: 0.000098  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911008;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911008;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000266  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911008;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:47.768628' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:49
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000510  Lock_time: 0.000159  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911009;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000278  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911009;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:48.769682' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:50
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000701  Lock_time: 0.000379  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911010;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:49.768562' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:51
# User@Host: so_user[so_user] @  [10.242.98.222]
# Thread_id: 465  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001367  Lock_time: 0.000733  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1619911011;
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-05-01 23:16:51.403'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-05-01 23:16:51.403')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '5bf91847-aad1-11eb-9f20-e65e71e6bf1c'
	   
	 ) 
	)
   
   
         
        )
       

      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-05-01 23:16:51.403')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001341  Lock_time: 0.001059  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1619911011;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:50.76834' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:52
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000274  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911012;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:53
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 854  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=1619911013;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 854  Schema:   QC_hit: No
# Query_time: 0.000454  Lock_time: 0.000347  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911013;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000413  Lock_time: 0.000180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911013;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:52.769175' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:54
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001071  Lock_time: 0.000185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911014;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:16:55
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000786  Lock_time: 0.000646  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911015;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:54.768331' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:56
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000393  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911016;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:55.770447' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000521  Lock_time: 0.000096  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911016;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000344  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911016;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:55.778509' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:57
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000626  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911017;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000419  Lock_time: 0.000295  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911017;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 855  Schema:   QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911018;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 855  Schema:   QC_hit: No
# Query_time: 0.000353  Lock_time: 0.000261  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911018;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000523  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911018;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:57.768901' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:16:59
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000541  Lock_time: 0.000282  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911019;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:58.769541' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:00
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000700  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911020;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000336  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911020;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:16:59.771034' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:01
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911021;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:00.768449' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000746  Lock_time: 0.000200  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911021;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:17:02
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911022;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:01.768712' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:03
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 858  Schema:   QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000186  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911023;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 858  Schema:   QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000159  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911023;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000253  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911023;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:02.76892' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:04
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000675  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911024;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000432  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911024;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:03.769349' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:05
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000953  Lock_time: 0.000660  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911025;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:04.768628' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000815  Lock_time: 0.000400  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911025;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:04.768372' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:06
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000217  Lock_time: 0.000091  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911026;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000192  Lock_time: 0.000081  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911026;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:05.768613' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:07
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000186  Lock_time: 0.000071  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911027;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:06.770934' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 859  Schema:   QC_hit: No
# Query_time: 0.000161  Lock_time: 0.000093  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911028;
SELECT
                  page_size, buffer_pool_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.000181  Lock_time: 0.000131  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911028;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000942  Lock_time: 0.000545  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911028;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:17:09
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000637  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911029;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000275  Lock_time: 0.000107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911029;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:08.769776' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:10
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001035  Lock_time: 0.000905  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911030;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:09.768909' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:11
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911031;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:10.769185' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:12
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000721  Lock_time: 0.000291  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911032;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:17:13
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 862  Schema:   QC_hit: No
# Query_time: 0.000193  Lock_time: 0.000105  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911033;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 862  Schema:   QC_hit: No
# Query_time: 0.000191  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911033;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000305  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911033;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000454  Lock_time: 0.000230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911033;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:12.771188' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:14
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000886  Lock_time: 0.000742  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911034;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:15
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000286  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911035;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000339  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911035;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:14.768881' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:16
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000312  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911036;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:15.768491' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001231  Lock_time: 0.000885  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911036;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:17:17
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911037;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:16.768729' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001227  Lock_time: 0.000839  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911037;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:17:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 863  Schema:   QC_hit: No
# Query_time: 0.000270  Lock_time: 0.000180  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911038;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 863  Schema:   QC_hit: No
# Query_time: 0.000146  Lock_time: 0.000091  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911038;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000382  Lock_time: 0.000238  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911038;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:17.768696' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001090  Lock_time: 0.000917  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911038;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:19
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000269  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911039;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:18.77008' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:20
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000637  Lock_time: 0.000276  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911040;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001346  Lock_time: 0.001233  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911040;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:19.769939' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:21
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000233  Lock_time: 0.000090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911041;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:20.76877' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:22
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000361  Lock_time: 0.000225  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911042;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:21.769495' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:23
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 866  Schema:   QC_hit: No
# Query_time: 0.000166  Lock_time: 0.000104  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911043;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 866  Schema:   QC_hit: No
# Query_time: 0.000156  Lock_time: 0.000103  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911043;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000845  Lock_time: 0.000351  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911043;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911043;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:22.7702' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:24
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000429  Lock_time: 0.000205  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911044;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:23.771097' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:25
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000576  Lock_time: 0.000204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911045;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000834  Lock_time: 0.000722  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911045;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:24.76952' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:26
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000385  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911046;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:25.768911' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000363  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911046;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:25.769152' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:27
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000324  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911047;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 867  Schema:   QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911048;
SELECT
		  page_size, compress_ops, 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.000409  Lock_time: 0.000278  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911048;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000313  Lock_time: 0.000129  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911048;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:27.771724' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:29
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911049;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000690  Lock_time: 0.000155  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911049;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:17:30
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000294  Lock_time: 0.000174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911050;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:29.768673' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:31
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000227  Lock_time: 0.000107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911051;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000231  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911051;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:30.770427' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:32
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000563  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911052;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:31.769124' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:33
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 870  Schema:   QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000215  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911053;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 870  Schema:   QC_hit: No
# Query_time: 0.000150  Lock_time: 0.000100  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911053;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911053;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000679  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911053;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:17:34
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000330  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911054;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:33.769093' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:35
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000210  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911055;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:34.76901' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:36
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000362  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911056;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:35.771806' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:37
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911057;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:36.768838' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000991  Lock_time: 0.000801  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911057;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:36.769101' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 871  Schema:   QC_hit: No
# Query_time: 0.000233  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911058;
SELECT
		  page_size, compress_ops, 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.000134  Lock_time: 0.000072  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911058;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000265  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911058;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911058;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:37.769111' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:40
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000233  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911060;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:39.76901' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:41
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911061;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:40.768936' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000383  Lock_time: 0.000193  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911061;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:40.768834' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:42
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001656  Lock_time: 0.001451  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911062;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001982  Lock_time: 0.001591  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911062;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:17:43
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 874  Schema:   QC_hit: No
# Query_time: 0.000164  Lock_time: 0.000101  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911063;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 874  Schema:   QC_hit: No
# Query_time: 0.000158  Lock_time: 0.000100  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911063;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000677  Lock_time: 0.000461  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911063;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:42.769285' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:44
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000303  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911064;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:43.77146' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:45
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000368  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911065;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000209  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911065;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:44.7688' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:46
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000211  Lock_time: 0.000080  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911066;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:45.76902' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:47
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000079  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911067;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:46.768874' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911067;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:46.768874' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 875  Schema:   QC_hit: No
# Query_time: 0.000207  Lock_time: 0.000128  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911068;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 875  Schema:   QC_hit: No
# Query_time: 0.000324  Lock_time: 0.000275  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911068;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001034  Lock_time: 0.000896  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911068;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001257  Lock_time: 0.000939  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911068;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:17:49
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001618  Lock_time: 0.001409  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911069;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:48.768518' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:50
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000228  Lock_time: 0.000077  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911070;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001447  Lock_time: 0.001259  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911070;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:49.768742' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:51
# User@Host: so_user[so_user] @  [10.242.98.222]
# Thread_id: 465  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001311  Lock_time: 0.000712  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1619911071;
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-05-01 23:17:51.405'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-05-01 23:17:51.405')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '5bf91847-aad1-11eb-9f20-e65e71e6bf1c'
	   
	 ) 
	)
   
   
         
        )
       

      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-05-01 23:17:51.405')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000318  Lock_time: 0.000155  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1619911071;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001103  Lock_time: 0.000982  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911071;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:50.769429' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:52
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000445  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911072;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000897  Lock_time: 0.000789  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911072;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:51.771327' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:53
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 878  Schema:   QC_hit: No
# Query_time: 0.000152  Lock_time: 0.000085  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911073;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 878  Schema:   QC_hit: No
# Query_time: 0.000126  Lock_time: 0.000086  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911073;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001062  Lock_time: 0.000930  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911073;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:52.771469' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:54
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000329  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911074;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:53.768388' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911074;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:53.768623' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:55
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000307  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911075;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000304  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911075;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:54.768629' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:56
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000310  Lock_time: 0.000086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911076;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:55.768741' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000244  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911076;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:55.768985' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:57
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000079  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911077;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:56.769197' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 879  Schema:   QC_hit: No
# Query_time: 0.000250  Lock_time: 0.000172  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911078;
SELECT
		  page_size, compress_ops, 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.000312  Lock_time: 0.000243  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911078;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000907  Lock_time: 0.000421  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911078;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000510  Lock_time: 0.000380  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911078;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:57.769403' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:17:59
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000296  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911079;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:58.771292' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:00
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000361  Lock_time: 0.000225  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911080;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:17:59.768477' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:01
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000363  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911081;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:00.769032' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:02
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000577  Lock_time: 0.000271  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911082;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:03
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 882  Schema:   QC_hit: No
# Query_time: 0.000341  Lock_time: 0.000223  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911083;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 882  Schema:   QC_hit: No
# Query_time: 0.000213  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911083;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911083;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:02.771533' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:04
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000340  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911084;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001484  Lock_time: 0.001337  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911084;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:03.76834' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:05
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000353  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911085;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:04.772847' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000368  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911085;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:04.772461' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:06
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001880  Lock_time: 0.001482  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911086;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:18:07
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000323  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911087;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:06.768847' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 883  Schema:   QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000191  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911088;
SELECT
		  page_size, compress_ops, 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.000224  Lock_time: 0.000152  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911088;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000964  Lock_time: 0.000815  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911088;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:07.769121' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:09
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000330  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911089;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:08.772143' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:10
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000585  Lock_time: 0.000228  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911090;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000385  Lock_time: 0.000212  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911090;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:09.768872' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:11
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000935  Lock_time: 0.000344  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911091;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000256  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911091;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:10.768998' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:12
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000345  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911092;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:11.768937' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:13
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 887  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=1619911093;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 887  Schema:   QC_hit: No
# Query_time: 0.000111  Lock_time: 0.000070  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911093;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001378  Lock_time: 0.001203  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911093;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911093;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:12.769442' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:14
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000740  Lock_time: 0.000425  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911094;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:13.768916' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001438  Lock_time: 0.001161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911094;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:15
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002504  Lock_time: 0.002382  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911095;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:14.769109' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:16
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000350  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911096;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:15.768495' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911096;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:15.768743' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:17
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000317  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911097;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 888  Schema:   QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911098;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 888  Schema:   QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000219  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911098;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000348  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911098;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001077  Lock_time: 0.000898  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911098;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:17.768634' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:19
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911099;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001005  Lock_time: 0.000888  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911099;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:18.770186' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:20
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000076  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911100;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:19.768853' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000328  Lock_time: 0.000231  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911100;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:19.769122' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:21
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.010652  Lock_time: 0.010493  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911101;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:20.770353' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000236  Lock_time: 0.000093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911101;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:20.774358' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:22
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000172  Lock_time: 0.000064  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911102;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:21.769279' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:23
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 892  Schema:   QC_hit: No
# Query_time: 0.000209  Lock_time: 0.000106  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911103;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 892  Schema:   QC_hit: No
# Query_time: 0.000223  Lock_time: 0.000150  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911103;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000076  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911103;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000172  Lock_time: 0.000062  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911103;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:22.771178' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:24
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000588  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911104;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001443  Lock_time: 0.001287  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911104;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:23.769059' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:25
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000315  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911105;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:24.769248' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:26
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000082  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911106;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:25.768478' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000219  Lock_time: 0.000075  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911106;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:25.768235' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:27
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000329  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911107;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000493  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911107;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:18:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 893  Schema:   QC_hit: No
# Query_time: 0.000221  Lock_time: 0.000138  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911108;
SELECT
		  page_size, compress_ops, 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.000268  Lock_time: 0.000153  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911108;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000194  Lock_time: 0.000080  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911108;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:27.769429' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:29
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000315  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911109;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:28.771582' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:30
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000494  Lock_time: 0.000243  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911110;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000680  Lock_time: 0.000241  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911110;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:18:31
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000941  Lock_time: 0.000777  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911111;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:30.769462' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:32
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005492  Lock_time: 0.005314  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911112;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004928  Lock_time: 0.004757  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911112;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:31.769407' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:33
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 896  Schema:   QC_hit: No
# Query_time: 0.000192  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911113;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 896  Schema:   QC_hit: No
# Query_time: 0.000126  Lock_time: 0.000079  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911113;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000875  Lock_time: 0.000690  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911113;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:32.769554' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:34
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.006058  Lock_time: 0.005842  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911114;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:33.768497' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.006392  Lock_time: 0.006287  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911114;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:33.76857' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:35
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000227  Lock_time: 0.000093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911115;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000509  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911115;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:18:36
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000193  Lock_time: 0.000058  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911116;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:35.770005' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:37
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001286  Lock_time: 0.001073  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911117;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:36.769014' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001397  Lock_time: 0.001071  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911117;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:36.768788' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 897  Schema:   QC_hit: No
# Query_time: 0.000275  Lock_time: 0.000182  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911118;
SELECT
                  page_size, buffer_pool_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.000117  Lock_time: 0.000073  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911118;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000777  Lock_time: 0.000663  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911118;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:37.769127' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:39
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000189  Lock_time: 0.000076  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911119;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:38.769209' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:40
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001056  Lock_time: 0.000284  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911120;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:41
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000203  Lock_time: 0.000078  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911121;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:40.77112' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:42
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000405  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911122;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000206  Lock_time: 0.000068  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911122;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:41.771407' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:43
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 901  Schema:   QC_hit: No
# Query_time: 0.000175  Lock_time: 0.000110  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911123;
SELECT
                  page_size, buffer_pool_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.000175  Lock_time: 0.000130  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911123;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000265  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911123;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000304  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911123;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:42.768637' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:44
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000524  Lock_time: 0.000238  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911124;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:43.769046' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:45
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000939  Lock_time: 0.000802  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911125;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:44.768855' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:46
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000749  Lock_time: 0.000514  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911126;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:45.769309' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:47
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001141  Lock_time: 0.001027  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911127;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:46.76911' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 902  Schema:   QC_hit: No
# Query_time: 0.000231  Lock_time: 0.000163  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911128;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 902  Schema:   QC_hit: No
# Query_time: 0.000231  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911128;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000310  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911128;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:47.768646' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000163  Lock_time: 0.000069  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911128;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:47.768519' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:49
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000221  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911129;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:48.768378' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:50
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000834  Lock_time: 0.000257  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911130;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:18:51
# User@Host: so_user[so_user] @  [10.242.98.222]
# Thread_id: 465  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001383  Lock_time: 0.000719  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1619911131;
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-05-01 23:18:51.402'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-05-01 23:18:51.402')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '5bf91847-aad1-11eb-9f20-e65e71e6bf1c'
	   
	 ) 
	)
   
   
         
        )
       

      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-05-01 23:18:51.402')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000244  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1619911131;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:50.768893' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:52
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000191  Lock_time: 0.000073  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911132;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:51.775175' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000674  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911132;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:18:53
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 905  Schema:   QC_hit: No
# Query_time: 0.000166  Lock_time: 0.000101  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911133;
SELECT
		  page_size, compress_ops, 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.000146  Lock_time: 0.000104  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911133;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911133;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:52.771306' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:54
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000629  Lock_time: 0.000182  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911134;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000733  Lock_time: 0.000465  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911134;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:53.768719' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:55
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911135;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:54.769707' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:56
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002377  Lock_time: 0.002245  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911136;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002345  Lock_time: 0.002049  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911136;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:18:57
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000951  Lock_time: 0.000825  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911137;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:56.76898' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001024  Lock_time: 0.000834  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911137;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:56.769279' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 906  Schema:   QC_hit: No
# Query_time: 0.000405  Lock_time: 0.000309  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911138;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 906  Schema:   QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911138;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000084  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911138;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:57.771263' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000322  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911138;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:18:57.771347' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:18:59
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  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=1619911139;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000743  Lock_time: 0.000202  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911139;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:19:01
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000209  Lock_time: 0.000068  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911141;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:00.77134' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911141;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:00.771851' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:02
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000737  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911142;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000323  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911142;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:01.768814' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:03
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 909  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=1619911143;
SELECT
		  page_size, compress_ops, 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.000270  Lock_time: 0.000200  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911143;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000445  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911143;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:02.771913' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:04
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000476  Lock_time: 0.000190  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911144;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000313  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911144;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:03.768604' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:05
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000362  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911145;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:04.769057' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:06
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000671  Lock_time: 0.000301  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911146;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000321  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911146;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:05.769652' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:07
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000998  Lock_time: 0.000856  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911147;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000224  Lock_time: 0.000085  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911147;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:06.769193' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 910  Schema:   QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000170  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911148;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 910  Schema:   QC_hit: No
# Query_time: 0.000179  Lock_time: 0.000109  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911148;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911148;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:07.771462' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:09
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911149;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000325  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911149;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:08.771496' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000091  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911149;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:08.772042' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:10
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911150;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000632  Lock_time: 0.000229  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911150;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:19:12
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  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=1619911152;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:11.768919' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:13
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 913  Schema:   QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000158  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911153;
SELECT
		  page_size, compress_ops, 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.000172  Lock_time: 0.000118  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911153;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000400  Lock_time: 0.000235  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911153;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:12.769223' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:14
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000311  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911154;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:13.769038' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:15
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000322  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911155;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:14.770593' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000314  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911155;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:14.770277' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:16
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000349  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911156;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000265  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911156;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:15.768485' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:17
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000608  Lock_time: 0.000479  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911157;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000390  Lock_time: 0.000290  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911157;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:16.769187' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 914  Schema:   QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000139  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911158;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 914  Schema:   QC_hit: No
# Query_time: 0.001574  Lock_time: 0.001503  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911158;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000257  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911158;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:17.76926' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000241  Lock_time: 0.000093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911158;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:17.769378' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:19
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000445  Lock_time: 0.000252  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911159;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000716  Lock_time: 0.000355  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911159;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:19:20
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000367  Lock_time: 0.000197  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911160;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:19.768864' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:21
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911161;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:20.768869' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:22
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000469  Lock_time: 0.000330  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911162;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:21.768685' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001524  Lock_time: 0.001097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911162;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:19:23
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 917  Schema:   QC_hit: No
# Query_time: 0.000233  Lock_time: 0.000167  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911163;
SELECT
		  page_size, compress_ops, 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.000175  Lock_time: 0.000126  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911163;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000964  Lock_time: 0.000739  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911163;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000913  Lock_time: 0.000688  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911163;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:22.768699' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:24
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001037  Lock_time: 0.000882  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911164;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:23.768586' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:25
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000202  Lock_time: 0.000090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911165;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:24.768427' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:26
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911166;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:25.770222' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:27
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911167;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:26.768989' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 918  Schema:   QC_hit: No
# Query_time: 0.000287  Lock_time: 0.000194  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911168;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 918  Schema:   QC_hit: No
# Query_time: 0.000200  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911168;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000490  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911168;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000672  Lock_time: 0.000487  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911168;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:27.768672' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:29
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000957  Lock_time: 0.000627  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911169;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000332  Lock_time: 0.000174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911169;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:28.769694' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:30
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001468  Lock_time: 0.001165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911170;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:31
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000999  Lock_time: 0.000770  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911171;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:30.770279' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001055  Lock_time: 0.000775  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911171;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:30.769699' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:32
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000483  Lock_time: 0.000277  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911172;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:31.771477' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:33
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 921  Schema:   QC_hit: No
# Query_time: 0.000211  Lock_time: 0.000163  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911173;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 921  Schema:   QC_hit: No
# Query_time: 0.000229  Lock_time: 0.000157  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911173;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000307  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911173;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001416  Lock_time: 0.001308  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911173;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:32.76929' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:34
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911174;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:33.768747' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:35
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000295  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911175;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:34.77182' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  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=1619911175;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:34.771948' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:36
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000690  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911176;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001141  Lock_time: 0.000978  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911176;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:35.770215' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:37
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000559  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911177;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000299  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911177;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:36.769918' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 922  Schema:   QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000123  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911178;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 922  Schema:   QC_hit: No
# Query_time: 0.001481  Lock_time: 0.001377  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911178;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000994  Lock_time: 0.000239  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911178;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:39
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000330  Lock_time: 0.000206  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911179;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000451  Lock_time: 0.000282  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911179;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:38.768611' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:40
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000748  Lock_time: 0.000174  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911180;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000595  Lock_time: 0.000478  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911180;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:39.769649' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:41
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001519  Lock_time: 0.001373  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911181;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:40.768823' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:42
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001294  Lock_time: 0.001070  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911182;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:43
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 925  Schema:   QC_hit: No
# Query_time: 0.000183  Lock_time: 0.000119  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911183;
SELECT
		  page_size, compress_ops, 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.000172  Lock_time: 0.000094  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911183;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000473  Lock_time: 0.000215  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911183;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:42.768972' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:44
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000502  Lock_time: 0.000282  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911184;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:43.76937' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:45
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000493  Lock_time: 0.000322  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911185;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001033  Lock_time: 0.000370  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911185;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:19:46
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911186;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:45.768914' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:47
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000566  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911187;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000554  Lock_time: 0.000430  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911187;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:46.768886' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 926  Schema:   QC_hit: No
# Query_time: 0.000154  Lock_time: 0.000081  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911188;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 926  Schema:   QC_hit: No
# Query_time: 0.000194  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911188;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005873  Lock_time: 0.005716  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911188;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:47.768635' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000331  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911188;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:49
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000312  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911189;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:48.76975' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000323  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911189;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:48.769353' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:50
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001115  Lock_time: 0.000581  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911190;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001078  Lock_time: 0.000902  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911190;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:49.768963' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:51
# User@Host: so_user[so_user] @  [10.242.98.222]
# Thread_id: 465  Schema: camundabpmn  QC_hit: No
# Query_time: 0.002658  Lock_time: 0.002052  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1619911191;
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-05-01 23:19:51.405'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-05-01 23:19:51.405')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '5bf91847-aad1-11eb-9f20-e65e71e6bf1c'
	   
	 ) 
	)
   
   
         
        )
       

      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-05-01 23:19:51.405')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000266  Lock_time: 0.000090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1619911191;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:50.768561' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911191;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:50.768634' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:52
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000322  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911192;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:51.768519' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:53
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 929  Schema:   QC_hit: No
# Query_time: 0.000169  Lock_time: 0.000117  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911193;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 929  Schema:   QC_hit: No
# Query_time: 0.000177  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911193;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000419  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911193;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:52.774125' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000244  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911193;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:54
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000355  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911194;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:53.769219' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:55
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000610  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911195;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000368  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911195;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:54.771489' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:56
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001110  Lock_time: 0.000713  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911196;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:19:57
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000746  Lock_time: 0.000384  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911197;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:19:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 930  Schema:   QC_hit: No
# Query_time: 0.000156  Lock_time: 0.000091  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911198;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 930  Schema:   QC_hit: No
# Query_time: 0.000212  Lock_time: 0.000148  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911198;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000209  Lock_time: 0.000067  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911198;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:57.768874' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000381  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911198;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:57.768587' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:19:59
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000096  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911199;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:58.76867' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:00
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000989  Lock_time: 0.000853  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911200;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000627  Lock_time: 0.000492  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911200;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:19:59.76868' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:01
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000553  Lock_time: 0.000390  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911201;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:00.769566' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:02
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000923  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911202;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:20:03
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 933  Schema:   QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000225  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911203;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 933  Schema:   QC_hit: No
# Query_time: 0.000257  Lock_time: 0.000185  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911203;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001365  Lock_time: 0.001159  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911203;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:02.771571' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:04
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000924  Lock_time: 0.000717  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911204;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:03.768663' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001392  Lock_time: 0.000994  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911204;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:20:05
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000191  Lock_time: 0.000080  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911205;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:04.770041' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:06
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911206;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:07
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911207;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:06.769406' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 934  Schema:   QC_hit: No
# Query_time: 0.000199  Lock_time: 0.000123  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911208;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 934  Schema:   QC_hit: No
# Query_time: 0.000125  Lock_time: 0.000085  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911208;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000804  Lock_time: 0.000500  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911208;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:07.768915' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001788  Lock_time: 0.001029  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911208;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:20:09
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  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=1619911209;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:08.771774' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:10
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000672  Lock_time: 0.000272  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911210;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:20:11
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000589  Lock_time: 0.000386  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911211;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:10.770557' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000823  Lock_time: 0.000617  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911211;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:12
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  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=1619911212;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:11.771861' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000381  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911212;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:11.771879' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:13
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 937  Schema:   QC_hit: No
# Query_time: 0.000158  Lock_time: 0.000105  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911213;
SELECT
                  page_size, buffer_pool_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.000129  Lock_time: 0.000091  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911213;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911213;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000603  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911213;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:20:14
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000276  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911214;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:15
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000620  Lock_time: 0.000470  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911215;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:14.768682' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:16
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000396  Lock_time: 0.000187  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911216;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:15.768945' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000509  Lock_time: 0.000264  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911216;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:15.769938' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:17
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000583  Lock_time: 0.000407  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911217;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:16.768714' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001164  Lock_time: 0.001020  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911217;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 938  Schema:   QC_hit: No
# Query_time: 0.000358  Lock_time: 0.000251  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911218;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 938  Schema:   QC_hit: No
# Query_time: 0.000145  Lock_time: 0.000100  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911218;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000910  Lock_time: 0.000770  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911218;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:19
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000487  Lock_time: 0.000251  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911219;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:18.768988' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000423  Lock_time: 0.000260  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911219;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:18.769158' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:20
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911220;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000379  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911220;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:19.770057' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:21
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000359  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911221;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:20.769181' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:22
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000469  Lock_time: 0.000311  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911222;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:23
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 941  Schema:   QC_hit: No
# Query_time: 0.000154  Lock_time: 0.000097  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911223;
SELECT
                  page_size, buffer_pool_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.000183  Lock_time: 0.000136  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911223;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000351  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911223;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:22.768723' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:24
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001064  Lock_time: 0.000868  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911224;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:25
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000366  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911225;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:24.768805' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000081  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911225;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:26
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000413  Lock_time: 0.000268  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911226;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:25.76943' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911226;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:25.769593' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:27
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000202  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911227;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:26.771979' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 942  Schema:   QC_hit: No
# Query_time: 0.000168  Lock_time: 0.000109  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911228;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 942  Schema:   QC_hit: No
# Query_time: 0.000107  Lock_time: 0.000070  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911228;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004965  Lock_time: 0.004832  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911228;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:29
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000375  Lock_time: 0.000215  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911229;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:28.768535' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:30
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000670  Lock_time: 0.000242  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911230;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000351  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911230;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:29.768468' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:31
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000096  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911231;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:30.768696' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:32
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000316  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911232;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:31.769445' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:33
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 945  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=1619911233;
SELECT
		  page_size, compress_ops, 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.000165  Lock_time: 0.000107  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911233;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000356  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911233;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:32.772036' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911233;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:32.771382' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:34
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000315  Lock_time: 0.000185  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911234;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000276  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911234;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:33.769081' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:36
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000272  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911236;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:35.772809' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:37
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001259  Lock_time: 0.000224  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911237;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000944  Lock_time: 0.000801  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911237;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:36.77136' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 946  Schema:   QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000183  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911238;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 946  Schema:   QC_hit: No
# Query_time: 0.000122  Lock_time: 0.000076  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911238;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000601  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911238;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000280  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911238;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:37.771423' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:39
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000492  Lock_time: 0.000207  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911239;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:20:40
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001330  Lock_time: 0.001167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911240;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:39.768764' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001248  Lock_time: 0.001056  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911240;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:39.768593' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:41
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000692  Lock_time: 0.000542  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911241;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:40.768812' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:42
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911242;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911242;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:41.769643' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:43
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 949  Schema:   QC_hit: No
# Query_time: 0.000244  Lock_time: 0.000195  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911243;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 949  Schema:   QC_hit: No
# Query_time: 0.000169  Lock_time: 0.000124  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911243;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000060  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911243;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:42.769239' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000448  Lock_time: 0.000293  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911243;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:42.768785' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:44
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000399  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911244;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:45
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000278  Lock_time: 0.000089  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911245;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:44.768892' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:46
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001379  Lock_time: 0.000824  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911246;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:20:47
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000648  Lock_time: 0.000480  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911247;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:46.769434' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 950  Schema:   QC_hit: No
# Query_time: 0.000152  Lock_time: 0.000092  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911248;
SELECT
		  page_size, compress_ops, 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.000413  Lock_time: 0.000314  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911248;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002684  Lock_time: 0.001204  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911248;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:20:49
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000256  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911249;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000203  Lock_time: 0.000075  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911249;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:48.768748' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:50
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000406  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911250;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:49.769022' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:51
# User@Host: so_user[so_user] @  [10.242.98.222]
# Thread_id: 465  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001304  Lock_time: 0.000631  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1619911251;
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-05-01 23:20:51.405'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-05-01 23:20:51.405')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '5bf91847-aad1-11eb-9f20-e65e71e6bf1c'
	   
	 ) 
	)
   
   
         
        )
       

      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-05-01 23:20:51.405')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000239  Lock_time: 0.000095  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1619911251;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:50.769522' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:52
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000756  Lock_time: 0.000443  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911252;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:51.768629' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:53
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 953  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=1619911253;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 953  Schema:   QC_hit: No
# Query_time: 0.000135  Lock_time: 0.000090  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911253;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911253;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:54
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000775  Lock_time: 0.000524  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911254;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:53.769329' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:55
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001941  Lock_time: 0.001824  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911255;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:54.770524' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:56
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000471  Lock_time: 0.000293  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911256;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:57
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000274  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911257;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:56.768879' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911257;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:56.768931' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 954  Schema:   QC_hit: No
# Query_time: 0.000135  Lock_time: 0.000075  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911258;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 954  Schema:   QC_hit: No
# Query_time: 0.000099  Lock_time: 0.000063  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911258;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000331  Lock_time: 0.000195  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911258;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:57.769226' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:20:59
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000266  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911259;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:58.771095' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000292  Lock_time: 0.000072  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911259;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:58.771262' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:00
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000552  Lock_time: 0.000168  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911260;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000300  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911260;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:20:59.76904' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:01
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911261;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:00.769493' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:02
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000219  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911262;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:01.771545' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:03
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 957  Schema:   QC_hit: No
# Query_time: 0.000302  Lock_time: 0.000156  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911263;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 957  Schema:   QC_hit: No
# Query_time: 0.000217  Lock_time: 0.000134  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911263;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000644  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911263;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000345  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911263;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:02.769163' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000238  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911263;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:02.773134' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:04
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000395  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911264;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001230  Lock_time: 0.001030  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911264;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:03.771474' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:05
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000321  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911265;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:04.768947' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000459  Lock_time: 0.000353  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911265;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:06
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000419  Lock_time: 0.000180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911266;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:05.769024' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911266;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:05.770731' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:07
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000352  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911267;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000166  Lock_time: 0.000051  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911267;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:06.76903' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 958  Schema:   QC_hit: No
# Query_time: 0.000230  Lock_time: 0.000157  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911268;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 958  Schema:   QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000239  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911268;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000357  Lock_time: 0.000227  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911268;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000224  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911268;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:07.768674' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:09
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911269;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911269;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:08.769146' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:10
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000536  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911270;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000196  Lock_time: 0.000083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911270;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:09.768756' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:11
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000461  Lock_time: 0.000298  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911271;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:10.769268' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000420  Lock_time: 0.000234  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911271;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:10.769107' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:12
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001205  Lock_time: 0.001060  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911272;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000336  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911272;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:11.771924' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:13
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 961  Schema:   QC_hit: No
# Query_time: 0.000151  Lock_time: 0.000095  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911273;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 961  Schema:   QC_hit: No
# Query_time: 0.000122  Lock_time: 0.000083  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911273;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001163  Lock_time: 0.001053  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911273;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:12.768317' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:14
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000259  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911274;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:13.771827' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:15
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000411  Lock_time: 0.000159  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911275;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000375  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911275;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:14.769478' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:16
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911276;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:15.768512' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:17
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911277;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:16.77037' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000288  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911277;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:16.768419' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 962  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=1619911278;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 962  Schema:   QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000181  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911278;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001318  Lock_time: 0.000954  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911278;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000385  Lock_time: 0.000238  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911278;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:17.771303' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:19
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000872  Lock_time: 0.000671  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911279;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:20
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000500  Lock_time: 0.000159  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911280;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:19.770858' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000298  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911280;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:19.770453' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:21
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000634  Lock_time: 0.000231  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911281;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001056  Lock_time: 0.000823  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911281;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:20.768697' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:22
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004744  Lock_time: 0.004587  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911282;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:21.768847' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:23
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 965  Schema:   QC_hit: No
# Query_time: 0.000296  Lock_time: 0.000177  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911283;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 965  Schema:   QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000176  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911283;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000367  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911283;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000540  Lock_time: 0.000356  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911283;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:22.768665' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:24
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000410  Lock_time: 0.000226  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911284;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:23.772042' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000516  Lock_time: 0.000386  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911284;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:23.771182' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:25
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000345  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911285;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001807  Lock_time: 0.001511  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911285;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:24.771169' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:26
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911286;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:25.769033' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:27
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000323  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911287;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  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=1619911287;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:26.768503' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 966  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=1619911288;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 966  Schema:   QC_hit: No
# Query_time: 0.000231  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911288;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000597  Lock_time: 0.000167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911288;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000481  Lock_time: 0.000187  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911288;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:27.768503' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:29
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001502  Lock_time: 0.001137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911289;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:21:30
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000358  Lock_time: 0.000186  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911290;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:29.77158' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:31
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911291;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001010  Lock_time: 0.000867  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911291;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:30.771296' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:32
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000352  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911292;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001352  Lock_time: 0.001114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911292;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:31.771341' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:33
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 969  Schema:   QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911293;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 969  Schema:   QC_hit: No
# Query_time: 0.000168  Lock_time: 0.000105  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911293;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000276  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911293;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:32.771225' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:34
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000730  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911294;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000402  Lock_time: 0.000175  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911294;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:33.771033' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:35
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000371  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911295;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:34.77104' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:36
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000378  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911296;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:35.771083' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:37
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001095  Lock_time: 0.000970  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911297;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:36.769201' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 970  Schema:   QC_hit: No
# Query_time: 0.000178  Lock_time: 0.000111  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911298;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 970  Schema:   QC_hit: No
# Query_time: 0.000153  Lock_time: 0.000098  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911298;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 23:21:39
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001370  Lock_time: 0.001151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911299;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:38.770162' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:40
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002566  Lock_time: 0.002368  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911300;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002875  Lock_time: 0.002427  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911300;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:21:41
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000569  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911301;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000572  Lock_time: 0.000330  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911301;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:40.771341' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:42
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000320  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911302;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000592  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911302;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:21:43
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 973  Schema:   QC_hit: No
# Query_time: 0.000165  Lock_time: 0.000098  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911303;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 973  Schema:   QC_hit: No
# Query_time: 0.000134  Lock_time: 0.000090  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911303;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001270  Lock_time: 0.001137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911303;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000332  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911303;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:42.77124' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:44
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001991  Lock_time: 0.001744  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911304;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:45
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911305;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001696  Lock_time: 0.001245  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911305;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:21:46
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911306;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000406  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911306;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:45.769011' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:47
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000736  Lock_time: 0.000278  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911307;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:46.768802' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000286  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911307;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:46.768546' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 974  Schema:   QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000145  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911308;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 974  Schema:   QC_hit: No
# Query_time: 0.000261  Lock_time: 0.000167  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911308;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001708  Lock_time: 0.001614  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911308;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002180  Lock_time: 0.001156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911308;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:21:49
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000332  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911309;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:48.771492' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:50
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000715  Lock_time: 0.000201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911310;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001254  Lock_time: 0.001133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911310;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:49.769022' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:51
# User@Host: so_user[so_user] @  [10.242.98.222]
# Thread_id: 465  Schema: camundabpmn  QC_hit: No
# Query_time: 0.000803  Lock_time: 0.000376  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1619911311;
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-05-01 23:21:51.403'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-05-01 23:21:51.403')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '5bf91847-aad1-11eb-9f20-e65e71e6bf1c'
	   
	 ) 
	)
   
   
         
        )
       

      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-05-01 23:21:51.403')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000696  Lock_time: 0.000345  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1619911311;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:21:52
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000945  Lock_time: 0.000707  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911312;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:51.768952' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:53
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 977  Schema:   QC_hit: No
# Query_time: 0.000367  Lock_time: 0.000262  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911313;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 977  Schema:   QC_hit: No
# Query_time: 0.000253  Lock_time: 0.000146  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911313;
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.4.107]
# Thread_id: 533  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=1619911313;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:54
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000326  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911314;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:53.771434' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:55
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000625  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911315;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000392  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911315;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:54.768542' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:56
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000296  Lock_time: 0.000138  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911316;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:55.773452' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:57
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000521  Lock_time: 0.000400  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911317;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000191  Lock_time: 0.000071  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911317;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:56.769205' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 978  Schema:   QC_hit: No
# Query_time: 0.000200  Lock_time: 0.000140  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911318;
SELECT
		  page_size, compress_ops, 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.000228  Lock_time: 0.000158  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911318;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000203  Lock_time: 0.000070  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911318;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000296  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911318;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:57.769442' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:21:59
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000065  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911319;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:58.77136' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000188  Lock_time: 0.000086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911319;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:21:58.771161' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:00
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000824  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911320;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:22:01
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000866  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911321;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:22:02
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000412  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911322;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:01.768622' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:03
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 981  Schema:   QC_hit: No
# Query_time: 0.000330  Lock_time: 0.000226  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911323;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 981  Schema:   QC_hit: No
# Query_time: 0.000182  Lock_time: 0.000132  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911323;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001454  Lock_time: 0.001230  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911323;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:02.768311' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:04
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000749  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911324;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:22:05
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000533  Lock_time: 0.000348  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911325;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000411  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911325;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:04.768494' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:06
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000437  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911326;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:22:07
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911327;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:06.768667' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 982  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=1619911328;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 982  Schema:   QC_hit: No
# Query_time: 0.000302  Lock_time: 0.000211  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911328;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000638  Lock_time: 0.000283  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911328;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911328;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:07.769133' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:09
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000333  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911329;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:08.769388' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:10
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911330;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001445  Lock_time: 0.001201  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911330;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:09.769058' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:11
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000778  Lock_time: 0.000225  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911331;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000561  Lock_time: 0.000416  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911331;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:10.770262' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:12
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911332;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:11.768653' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:13
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 985  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=1619911333;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 985  Schema:   QC_hit: No
# Query_time: 0.000189  Lock_time: 0.000122  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911333;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000333  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911333;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:12.768602' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:14
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000236  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911334;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:13.771562' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:15
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000359  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911335;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000344  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911335;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:14.771592' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:16
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000298  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911336;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:15.768901' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001084  Lock_time: 0.000928  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911336;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:15.768794' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:17
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000416  Lock_time: 0.000234  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911337;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000919  Lock_time: 0.000487  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911337;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:22:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 986  Schema:   QC_hit: No
# Query_time: 0.000155  Lock_time: 0.000103  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911338;
SELECT
                  page_size, buffer_pool_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.000181  Lock_time: 0.000112  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911338;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000347  Lock_time: 0.000214  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911338;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:17.769132' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:19
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000199  Lock_time: 0.000067  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911339;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:18.771031' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:20
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911340;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:19.768741' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:21
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000185  Lock_time: 0.000059  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911341;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:20.770825' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:22
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000489  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911342;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:22:23
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 989  Schema:   QC_hit: No
# Query_time: 0.000133  Lock_time: 0.000077  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911343;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 989  Schema:   QC_hit: No
# Query_time: 0.000162  Lock_time: 0.000125  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911343;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000364  Lock_time: 0.000217  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911343;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:24
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000616  Lock_time: 0.000464  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911344;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:23.770879' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:25
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911345;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001197  Lock_time: 0.000995  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911345;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:24.769125' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:26
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911346;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:27
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000333  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911347;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:26.769175' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000296  Lock_time: 0.000111  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911347;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:26.769098' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 990  Schema:   QC_hit: No
# Query_time: 0.000457  Lock_time: 0.000383  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911348;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 990  Schema:   QC_hit: No
# Query_time: 0.000137  Lock_time: 0.000094  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911348;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911348;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:27.771688' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000321  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911348;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:27.771499' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:29
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000313  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911349;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:30
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000534  Lock_time: 0.000288  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911350;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:29.771739' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:31
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000643  Lock_time: 0.000256  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911351;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000201  Lock_time: 0.000082  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911351;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:30.76846' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:32
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001198  Lock_time: 0.001062  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911352;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:31.769153' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:33
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 993  Schema:   QC_hit: No
# Query_time: 0.000213  Lock_time: 0.000129  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911353;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 993  Schema:   QC_hit: No
# Query_time: 0.001631  Lock_time: 0.001552  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911353;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911353;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:32.769113' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:34
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000570  Lock_time: 0.000200  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911354;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000549  Lock_time: 0.000307  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911354;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:33.768937' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:35
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000258  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911355;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:36
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000352  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911356;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:35.769106' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000573  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911356;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:22:37
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001136  Lock_time: 0.000891  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911357;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:36.768679' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 994  Schema:   QC_hit: No
# Query_time: 0.000350  Lock_time: 0.000237  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911358;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 994  Schema:   QC_hit: No
# Query_time: 0.000167  Lock_time: 0.000098  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911358;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001594  Lock_time: 0.001417  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911358;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:37.768643' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:39
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000079  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911359;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:38.76888' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001181  Lock_time: 0.000807  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911359;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:22:40
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911360;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000258  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911360;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:39.771145' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:41
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911361;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:40.771521' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000340  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911361;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:40.771199' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:42
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000356  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911362;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001163  Lock_time: 0.000953  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911362;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:41.77127' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:43
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 997  Schema:   QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000197  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911363;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 997  Schema:   QC_hit: No
# Query_time: 0.000236  Lock_time: 0.000188  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911363;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000815  Lock_time: 0.000401  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911363;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:22:44
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000302  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911364;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:43.768641' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:45
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000556  Lock_time: 0.000334  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911365;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:44.768434' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:46
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911366;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:45.77186' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:47
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911367;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:46.768961' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 998  Schema:   QC_hit: No
# Query_time: 0.000442  Lock_time: 0.000301  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911368;
SELECT
                  page_size, buffer_pool_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.000338  Lock_time: 0.000248  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911368;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000238  Lock_time: 0.000073  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911368;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:47.769202' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:49
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911369;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911369;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:48.769069' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:50
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000353  Lock_time: 0.000193  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911370;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000438  Lock_time: 0.000237  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911370;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:49.769094' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:51
# User@Host: so_user[so_user] @  [10.242.98.222]
# Thread_id: 465  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001360  Lock_time: 0.000635  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1619911371;
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-05-01 23:22:51.403'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-05-01 23:22:51.403')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '5bf91847-aad1-11eb-9f20-e65e71e6bf1c'
	   
	 ) 
	)
   
   
         
        )
       

      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-05-01 23:22:51.403')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000932  Lock_time: 0.000781  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1619911371;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:50.76876' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000571  Lock_time: 0.000202  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911371;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:22:52
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000335  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911372;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:53
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1001  Schema:   QC_hit: No
# Query_time: 0.000373  Lock_time: 0.000274  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911373;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1001  Schema:   QC_hit: No
# Query_time: 0.000201  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911373;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002430  Lock_time: 0.002248  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911373;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:52.771389' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002113  Lock_time: 0.001882  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911373;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:52.771686' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:54
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000366  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911374;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:53.771376' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:55
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000564  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911375;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:22:56
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000248  Lock_time: 0.000069  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911376;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:55.771134' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:57
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000702  Lock_time: 0.000181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911377;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911377;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:56.771049' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1002  Schema:   QC_hit: No
# Query_time: 0.000537  Lock_time: 0.000442  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911378;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1002  Schema:   QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000208  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911378;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000346  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911378;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:57.768685' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000405  Lock_time: 0.000193  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911378;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:57.768902' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:22:59
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000323  Lock_time: 0.000180  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911379;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:58.768869' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000319  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911379;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:22:58.768606' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:00
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000419  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911380;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:23:01
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001637  Lock_time: 0.000982  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911381;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:00.768962' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002122  Lock_time: 0.000952  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911381;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:00.768922' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:02
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000105  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911382;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000875  Lock_time: 0.000148  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911382;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911382;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:01.771348' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:03
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1005  Schema:   QC_hit: No
# Query_time: 0.000152  Lock_time: 0.000090  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911383;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1005  Schema:   QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000167  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911383;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000356  Lock_time: 0.000171  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911383;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:02.768519' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:04
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000442  Lock_time: 0.000249  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911384;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:03.771355' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:05
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000430  Lock_time: 0.000217  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911385;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000455  Lock_time: 0.000262  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911385;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:04.774536' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:06
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000366  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911386;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000305  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911386;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:05.775466' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:07
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000215  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911387;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911387;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:06.768757' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1006  Schema:   QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000151  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911388;
SELECT
                  page_size, buffer_pool_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.000337  Lock_time: 0.000214  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911388;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911388;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:07.768689' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:09
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000091  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911389;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:08.771359' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:10
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911390;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911390;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:09.771924' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:11
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000638  Lock_time: 0.000237  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911391;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911391;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:10.768372' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:12
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000316  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911392;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:11.768509' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:13
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1009  Schema:   QC_hit: No
# Query_time: 0.000160  Lock_time: 0.000106  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911393;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1009  Schema:   QC_hit: No
# Query_time: 0.000116  Lock_time: 0.000071  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911393;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000315  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911393;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:12.771561' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:14
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000448  Lock_time: 0.000243  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911394;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000378  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911394;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:13.77097' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:15
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000322  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911395;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:14.768893' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000309  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911395;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:14.769056' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:16
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000992  Lock_time: 0.000790  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911396;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000276  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911396;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:15.76876' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:17
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000907  Lock_time: 0.000718  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911397;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911397;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:16.768771' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1010  Schema:   QC_hit: No
# Query_time: 0.000207  Lock_time: 0.000116  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911398;
SELECT
		  page_size, compress_ops, 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.000227  Lock_time: 0.000150  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911398;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000925  Lock_time: 0.000814  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911398;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:17.768499' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:19
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000089  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911399;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:18.76827' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001077  Lock_time: 0.000953  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911399;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:18.768592' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:20
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000610  Lock_time: 0.000211  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911400;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000364  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911400;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:19.771517' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:21
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000648  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911401;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000183  Lock_time: 0.000078  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911401;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:20.769077' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:22
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000357  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911402;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:23
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1013  Schema:   QC_hit: No
# Query_time: 0.000123  Lock_time: 0.000083  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911403;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1013  Schema:   QC_hit: No
# Query_time: 0.000101  Lock_time: 0.000065  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911403;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000949  Lock_time: 0.000252  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911403;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000693  Lock_time: 0.000437  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911403;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:22.768753' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:24
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000646  Lock_time: 0.000278  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911404;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:23.771754' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:25
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000278  Lock_time: 0.000135  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911405;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000598  Lock_time: 0.000426  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911405;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:24.771474' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:26
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000393  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911406;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:25.770528' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000619  Lock_time: 0.000276  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911406;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:25.769713' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:27
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000375  Lock_time: 0.000223  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911407;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1014  Schema:   QC_hit: No
# Query_time: 0.000190  Lock_time: 0.000111  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911408;
SELECT
		  page_size, compress_ops, 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.000311  Lock_time: 0.000223  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911408;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001102  Lock_time: 0.000778  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911408;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:27.768966' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:29
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001557  Lock_time: 0.001383  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911409;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:28.769703' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001525  Lock_time: 0.001290  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911409;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:30
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000356  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911410;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:31
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000344  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911411;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:30.772771' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:32
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000603  Lock_time: 0.000411  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911412;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:33
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1017  Schema:   QC_hit: No
# Query_time: 0.001234  Lock_time: 0.001171  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911413;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1017  Schema:   QC_hit: No
# Query_time: 0.000153  Lock_time: 0.000102  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911413;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000384  Lock_time: 0.000229  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911413;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:32.769174' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:34
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000265  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911414;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:35
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000474  Lock_time: 0.000197  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911415;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:34.768754' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:36
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911416;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.011232  Lock_time: 0.011016  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911416;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:35.768653' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:37
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000256  Lock_time: 0.000057  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911417;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000571  Lock_time: 0.000340  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911417;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:36.768324' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1018  Schema:   QC_hit: No
# Query_time: 0.000178  Lock_time: 0.000119  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911418;
SELECT
		  page_size, compress_ops, 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.000112  Lock_time: 0.000070  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911418;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000473  Lock_time: 0.000259  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911418;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:37.768429' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:39
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000295  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911419;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:38.771752' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:40
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000374  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911420;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:39.768314' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:41
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000070  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911421;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:40.768613' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000328  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911421;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:40.768531' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:42
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000235  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911422;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:41.77144' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000429  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911422;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:41.771493' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:43
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1021  Schema:   QC_hit: No
# Query_time: 0.000117  Lock_time: 0.000075  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911423;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1021  Schema:   QC_hit: No
# Query_time: 0.000098  Lock_time: 0.000061  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911423;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000767  Lock_time: 0.000440  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911423;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:23:44
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000216  Lock_time: 0.000083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911424;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:43.77159' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:45
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000599  Lock_time: 0.000362  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911425;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:44.768376' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000693  Lock_time: 0.000359  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911425;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:44.768473' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:46
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000540  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911426;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000214  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911426;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:45.770065' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:47
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002404  Lock_time: 0.002137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911427;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:23:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1022  Schema:   QC_hit: No
# Query_time: 0.000483  Lock_time: 0.000376  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911428;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1022  Schema:   QC_hit: No
# Query_time: 0.000166  Lock_time: 0.000117  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911428;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000371  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911428;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:49
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911429;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:48.771548' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:50
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001501  Lock_time: 0.001279  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911430;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:49.77112' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001406  Lock_time: 0.001154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911430;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:49.77096' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:51
# User@Host: so_user[so_user] @  [10.242.98.222]
# Thread_id: 465  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001609  Lock_time: 0.000851  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1619911431;
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-05-01 23:23:51.408'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-05-01 23:23:51.408')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '5bf91847-aad1-11eb-9f20-e65e71e6bf1c'
	   
	 ) 
	)
   
   
         
        )
       

      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-05-01 23:23:51.408')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000256  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1619911431;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000437  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911431;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000125  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911431;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:50.770949' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000335  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911431;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:50.770935' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:52
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000692  Lock_time: 0.000192  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911432;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911432;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:51.770116' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:53
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1025  Schema:   QC_hit: No
# Query_time: 0.000163  Lock_time: 0.000092  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911433;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1025  Schema:   QC_hit: No
# Query_time: 0.000108  Lock_time: 0.000070  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911433;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 23:23:54
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911434;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:53.76878' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:55
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000463  Lock_time: 0.000298  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911435;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:54.768687' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:56
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001090  Lock_time: 0.000936  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911436;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000480  Lock_time: 0.000328  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911436;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:55.768356' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:57
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001042  Lock_time: 0.000833  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911437;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1026  Schema:   QC_hit: No
# Query_time: 0.000289  Lock_time: 0.000203  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911438;
SELECT
		  page_size, compress_ops, 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.000214  Lock_time: 0.000166  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911438;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000186  Lock_time: 0.000065  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911438;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:57.77142' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:23:59
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000535  Lock_time: 0.000215  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911439;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000347  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911439;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:58.768576' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:00
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000811  Lock_time: 0.000680  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911440;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:23:59.768724' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:01
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000252  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911441;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:00.768434' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:02
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000242  Lock_time: 0.000080  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911442;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:01.768674' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:03
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1029  Schema:   QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000197  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911443;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1029  Schema:   QC_hit: No
# Query_time: 0.000157  Lock_time: 0.000111  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911443;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000473  Lock_time: 0.000266  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911443;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:02.768403' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000322  Lock_time: 0.000107  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911443;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:02.768714' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:04
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000865  Lock_time: 0.000167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911444;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002162  Lock_time: 0.000552  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911444;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:24:05
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000266  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911445;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000617  Lock_time: 0.000474  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911445;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:04.771469' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:06
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000397  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911446;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001319  Lock_time: 0.001165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911446;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:05.769397' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:07
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000681  Lock_time: 0.000312  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911447;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.007305  Lock_time: 0.007136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911447;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:06.771173' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1030  Schema:   QC_hit: No
# Query_time: 0.000206  Lock_time: 0.000127  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911448;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1030  Schema:   QC_hit: No
# Query_time: 0.000132  Lock_time: 0.000089  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911448;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000958  Lock_time: 0.000752  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911448;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:07.771294' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001021  Lock_time: 0.000815  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911448;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:07.771491' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:09
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911449;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000463  Lock_time: 0.000278  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911449;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:08.77142' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:10
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000298  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911450;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000080  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911450;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:09.771402' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000231  Lock_time: 0.000131  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911450;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:09.771649' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:11
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000385  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911451;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000324  Lock_time: 0.000093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911451;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:10.76866' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:12
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000309  Lock_time: 0.000133  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911452;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:11.768348' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:13
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1033  Schema:   QC_hit: No
# Query_time: 0.000211  Lock_time: 0.000156  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911453;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1033  Schema:   QC_hit: No
# Query_time: 0.000118  Lock_time: 0.000076  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911453;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000416  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911453;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:12.770699' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:14
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001192  Lock_time: 0.001033  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911454;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:13.768717' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001520  Lock_time: 0.001344  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911454;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:15
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000757  Lock_time: 0.000622  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911455;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:14.76868' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000525  Lock_time: 0.000307  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911455;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:14.768444' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:16
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000497  Lock_time: 0.000242  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911456;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:15.768386' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000484  Lock_time: 0.000196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911456;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:15.768298' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:17
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000217  Lock_time: 0.000081  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911457;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:16.771638' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1034  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=1619911458;
SELECT
		  page_size, compress_ops, 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.000132  Lock_time: 0.000090  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911458;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000693  Lock_time: 0.000468  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911458;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000857  Lock_time: 0.000386  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911458;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:24:19
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911459;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:18.771417' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:20
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000266  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911460;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000281  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911460;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:19.771069' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:21
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000700  Lock_time: 0.000557  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911461;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000199  Lock_time: 0.000074  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911461;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:20.770816' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000200  Lock_time: 0.000085  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911461;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:20.774277' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:22
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000613  Lock_time: 0.000154  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911462;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000254  Lock_time: 0.000085  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911462;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:23
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1037  Schema:   QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000135  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911463;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1037  Schema:   QC_hit: No
# Query_time: 0.000142  Lock_time: 0.000086  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911463;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 23:24:24
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001279  Lock_time: 0.001161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911464;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:23.768888' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:25
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000218  Lock_time: 0.000080  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911465;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:24.768719' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003599  Lock_time: 0.003464  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911465;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:24.76865' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:26
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000614  Lock_time: 0.000455  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911466;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000214  Lock_time: 0.000083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911466;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:25.769161' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:27
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911467;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:26.771298' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1038  Schema:   QC_hit: No
# Query_time: 0.000234  Lock_time: 0.000154  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911468;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1038  Schema:   QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000155  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911468;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000074  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911468;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:27.768566' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000219  Lock_time: 0.000072  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911468;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:27.76859' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:29
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000448  Lock_time: 0.000194  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911469;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:28.769303' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:30
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000362  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911470;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:29.771342' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000405  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911470;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:29.771627' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:31
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000519  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911471;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000253  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911471;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:30.768221' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:32
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000358  Lock_time: 0.000179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911472;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:31.771709' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:33
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1041  Schema:   QC_hit: No
# Query_time: 0.000167  Lock_time: 0.000108  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911473;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1041  Schema:   QC_hit: No
# Query_time: 0.000201  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911473;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000873  Lock_time: 0.000436  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911473;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001374  Lock_time: 0.001251  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911473;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:34
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000686  Lock_time: 0.000189  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911474;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:24:35
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000691  Lock_time: 0.000368  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911475;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:34.770129' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:36
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000429  Lock_time: 0.000113  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911476;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:35.768532' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  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=1619911476;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:35.769218' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1042  Schema:   QC_hit: No
# Query_time: 0.000309  Lock_time: 0.000195  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911478;
SELECT
		  page_size, compress_ops, 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.000153  Lock_time: 0.000109  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911478;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# Time: 210501 23:24:39
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000356  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911479;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:38.769022' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:40
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000261  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911480;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000277  Lock_time: 0.000142  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911480;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:39.769045' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:41
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001917  Lock_time: 0.001748  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911481;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:40.768886' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.002024  Lock_time: 0.001753  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911481;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:40.768755' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:42
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000258  Lock_time: 0.000122  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911482;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:41.768541' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:43
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1045  Schema:   QC_hit: No
# Query_time: 0.000532  Lock_time: 0.000461  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911483;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1045  Schema:   QC_hit: No
# Query_time: 0.000175  Lock_time: 0.000111  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911483;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001693  Lock_time: 0.001581  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911483;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:42.76899' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:44
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000584  Lock_time: 0.000313  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911484;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:43.768619' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:45
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000481  Lock_time: 0.000271  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911485;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:44.768458' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:46
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001251  Lock_time: 0.001096  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911486;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1046  Schema:   QC_hit: No
# Query_time: 0.000314  Lock_time: 0.000235  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911488;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1046  Schema:   QC_hit: No
# Query_time: 0.000314  Lock_time: 0.000245  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911488;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000191  Lock_time: 0.000075  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911488;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000196  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911488;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:47.768639' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:49
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000556  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911489;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:48.771434' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:50
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001258  Lock_time: 0.000253  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911490;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000400  Lock_time: 0.000225  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911490;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:49.771147' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:51
# User@Host: so_user[so_user] @  [10.242.98.222]
# Thread_id: 465  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001387  Lock_time: 0.000763  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1619911491;
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-05-01 23:24:51.405'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-05-01 23:24:51.405')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '5bf91847-aad1-11eb-9f20-e65e71e6bf1c'
	   
	 ) 
	)
   
   
         
        )
       

      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-05-01 23:24:51.405')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000291  Lock_time: 0.000099  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1619911491;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:50.771245' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000276  Lock_time: 0.000117  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911491;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:50.771378' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:52
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000380  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911492;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000873  Lock_time: 0.000162  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911492;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:24:53
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1049  Schema:   QC_hit: No
# Query_time: 0.000193  Lock_time: 0.000124  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911493;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1049  Schema:   QC_hit: No
# Query_time: 0.000154  Lock_time: 0.000107  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911493;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911493;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911493;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:52.768834' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:54
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000404  Lock_time: 0.000224  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911494;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:53.768724' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000399  Lock_time: 0.000197  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911494;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:53.768925' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:55
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000330  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911495;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000394  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911495;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:54.768895' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:56
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  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=1619911496;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:55.769053' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:57
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000454  Lock_time: 0.000322  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911497;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000369  Lock_time: 0.000208  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911497;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:56.769275' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1050  Schema:   QC_hit: No
# Query_time: 0.000359  Lock_time: 0.000252  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911498;
SELECT
                  page_size, buffer_pool_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.000342  Lock_time: 0.000246  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911498;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001867  Lock_time: 0.001713  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911498;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:24:59
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001090  Lock_time: 0.000929  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911499;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:58.768376' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:00
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000261  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911500;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:59.771416' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000232  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911500;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:24:59.771207' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:01
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000376  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911501;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000275  Lock_time: 0.000086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911501;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:00.768424' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:02
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000393  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911502;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:01.770588' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:03
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1053  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=1619911503;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1053  Schema:   QC_hit: No
# Query_time: 0.000171  Lock_time: 0.000123  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911503;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000516  Lock_time: 0.000357  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911503;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000545  Lock_time: 0.000367  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911503;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:02.768498' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:04
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000418  Lock_time: 0.000152  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911504;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:03.768426' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:05
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000614  Lock_time: 0.000353  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911505;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911505;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:04.771707' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:06
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000734  Lock_time: 0.000510  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911506;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:05.768453' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:07
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000258  Lock_time: 0.000087  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911507;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1054  Schema:   QC_hit: No
# Query_time: 0.000310  Lock_time: 0.000193  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911508;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1054  Schema:   QC_hit: No
# Query_time: 0.000517  Lock_time: 0.000354  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911508;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000240  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911508;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:07.77134' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:09
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000466  Lock_time: 0.000216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911509;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911509;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:08.771054' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:10
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000284  Lock_time: 0.000124  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911510;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000243  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911510;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:09.76972' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:11
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000773  Lock_time: 0.000403  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911511;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:10.768836' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001342  Lock_time: 0.000947  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911511;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:12
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001021  Lock_time: 0.000831  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911512;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:11.768782' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:13
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1057  Schema:   QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000126  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911513;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1057  Schema:   QC_hit: No
# Query_time: 0.000202  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911513;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001878  Lock_time: 0.001742  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911513;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.004275  Lock_time: 0.004177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911513;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:12.76895' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:14
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001346  Lock_time: 0.001243  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911514;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:13.769736' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:15
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001176  Lock_time: 0.000485  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911515;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000263  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911515;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:14.769539' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:16
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000163  Lock_time: 0.000059  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911516;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:15.77115' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:17
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000329  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911517;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:16.768885' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001311  Lock_time: 0.001176  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911517;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:16.768998' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1058  Schema:   QC_hit: No
# Query_time: 0.000186  Lock_time: 0.000107  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911518;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1058  Schema:   QC_hit: No
# Query_time: 0.000147  Lock_time: 0.000105  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911518;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000758  Lock_time: 0.000624  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911518;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000428  Lock_time: 0.000329  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911518;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:17.768661' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:20
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000575  Lock_time: 0.000249  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911520;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:21
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001048  Lock_time: 0.000794  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911521;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:20.768553' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:22
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000793  Lock_time: 0.000571  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911522;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:21.768402' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001454  Lock_time: 0.001216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911522;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:23
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1061  Schema:   QC_hit: No
# Query_time: 0.000368  Lock_time: 0.000289  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911523;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1061  Schema:   QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000133  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911523;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000344  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911523;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:22.771712' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:24
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.005261  Lock_time: 0.005102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911524;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:23.768375' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.010093  Lock_time: 0.009695  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911524;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:25:25
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911525;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000460  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911525;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000262  Lock_time: 0.000153  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911525;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:24.771104' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:26
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000137  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911526;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000389  Lock_time: 0.000198  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911526;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:25.771044' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:27
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000210  Lock_time: 0.000071  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911527;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:26.771089' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1062  Schema:   QC_hit: No
# Query_time: 0.000334  Lock_time: 0.000211  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911528;
SELECT
                  page_size, buffer_pool_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.000210  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911528;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000290  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911528;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000198  Lock_time: 0.000086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911528;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:27.77113' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:29
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000265  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911529;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:28.771338' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000569  Lock_time: 0.000293  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911529;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:28.771821' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:30
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000532  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911530;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000210  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911530;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:29.771379' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:31
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001274  Lock_time: 0.001040  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911531;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:30.769802' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:32
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000134  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911532;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:31.768962' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001299  Lock_time: 0.001039  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911532;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:31.769205' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:33
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1065  Schema:   QC_hit: No
# Query_time: 0.000187  Lock_time: 0.000116  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911533;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1065  Schema:   QC_hit: No
# Query_time: 0.000129  Lock_time: 0.000087  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911533;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000669  Lock_time: 0.000196  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911533;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000123  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911533;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:32.769449' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:34
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000150  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911534;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:33.771566' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:35
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000493  Lock_time: 0.000126  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911535;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:25:36
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000245  Lock_time: 0.000096  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911536;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1066  Schema:   QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000155  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911538;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1066  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=1619911538;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000253  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911538;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:37.769087' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:39
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000476  Lock_time: 0.000251  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911539;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:38.770648' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000588  Lock_time: 0.000236  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911539;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:38.770324' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:40
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000252  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911540;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000430  Lock_time: 0.000088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911540;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:25:41
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000270  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911541;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:40.771913' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:42
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000305  Lock_time: 0.000067  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911542;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000564  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911542;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:25:43
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1069  Schema:   QC_hit: No
# Query_time: 0.000209  Lock_time: 0.000156  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911543;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1069  Schema:   QC_hit: No
# Query_time: 0.000167  Lock_time: 0.000123  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911543;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000239  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911543;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:42.771358' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:44
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000676  Lock_time: 0.000421  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911544;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:45
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000329  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911545;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:44.768662' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:46
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000515  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911546;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000443  Lock_time: 0.000200  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911546;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:45.768552' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:47
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000256  Lock_time: 0.000093  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911547;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:46.77127' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1070  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=1619911548;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1070  Schema:   QC_hit: No
# Query_time: 0.000138  Lock_time: 0.000101  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911548;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000565  Lock_time: 0.000218  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911548;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001131  Lock_time: 0.000893  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911548;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:47.769683' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:49
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001088  Lock_time: 0.000425  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911549;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:25:50
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000481  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911550;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:49.769035' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:51
# User@Host: so_user[so_user] @  [10.242.98.222]
# Thread_id: 465  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001250  Lock_time: 0.000619  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1619911551;
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-05-01 23:25:51.406'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-05-01 23:25:51.406')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '5bf91847-aad1-11eb-9f20-e65e71e6bf1c'
	   
	 ) 
	)
   
   
         
        )
       

      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-05-01 23:25:51.406')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000284  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1619911551;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000147  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911551;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:50.771077' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:52
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000250  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911552;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000187  Lock_time: 0.000070  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911552;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:51.768424' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:53
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1073  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=1619911553;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1073  Schema:   QC_hit: No
# Query_time: 0.000204  Lock_time: 0.000147  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911553;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000270  Lock_time: 0.000079  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911553;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:52.772985' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:54
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000555  Lock_time: 0.000290  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911554;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:53.768771' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:55
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000409  Lock_time: 0.000157  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911555;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:54.768943' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911555;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:54.768774' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:56
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001007  Lock_time: 0.000786  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911556;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:57
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911557;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:56.768876' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:25:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1074  Schema:   QC_hit: No
# Query_time: 0.000327  Lock_time: 0.000191  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911558;
SELECT
		  page_size, compress_ops, 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.000280  Lock_time: 0.000185  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911558;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000264  Lock_time: 0.000082  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911558;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000630  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911558;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:26:00
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000421  Lock_time: 0.000234  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911560;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:25:59.768916' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:01
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001702  Lock_time: 0.001240  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911561;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:26:02
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000194  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911562;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:01.771459' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:03
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1077  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=1619911563;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1077  Schema:   QC_hit: No
# Query_time: 0.000271  Lock_time: 0.000206  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911563;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000533  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911563;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000297  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911563;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:02.783275' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:04
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000481  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911564;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000600  Lock_time: 0.000497  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911564;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000283  Lock_time: 0.000178  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911564;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:03.771206' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000324  Lock_time: 0.000163  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911564;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:03.771049' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:05
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000729  Lock_time: 0.000165  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911565;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911565;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:04.770877' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:06
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000206  Lock_time: 0.000062  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911566;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000527  Lock_time: 0.000090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911566;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:26:07
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001214  Lock_time: 0.000879  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911567;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:26:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1078  Schema:   QC_hit: No
# Query_time: 0.000362  Lock_time: 0.000264  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911568;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1078  Schema:   QC_hit: No
# Query_time: 0.000325  Lock_time: 0.000243  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911568;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000237  Lock_time: 0.000096  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911568;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:07.768609' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:09
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000330  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911569;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000486  Lock_time: 0.000132  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911569;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000393  Lock_time: 0.000285  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911569;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:08.771433' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:10
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000457  Lock_time: 0.000228  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911570;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000225  Lock_time: 0.000089  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911570;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:09.768287' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:11
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000260  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911571;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:10.768961' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:12
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001252  Lock_time: 0.000563  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911572;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.003734  Lock_time: 0.003501  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911572;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:11.768706' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:13
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1081  Schema:   QC_hit: No
# Query_time: 0.000252  Lock_time: 0.000171  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911573;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1081  Schema:   QC_hit: No
# Query_time: 0.001703  Lock_time: 0.001645  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911573;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000298  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911573;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:12.768602' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000167  Lock_time: 0.000069  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911573;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:12.76895' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:14
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000832  Lock_time: 0.000649  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911574;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001519  Lock_time: 0.000930  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911574;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:26:15
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000299  Lock_time: 0.000128  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911575;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000281  Lock_time: 0.000112  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911575;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:14.769293' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:16
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000438  Lock_time: 0.000197  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911576;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000246  Lock_time: 0.000064  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911576;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:15.771508' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000328  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911576;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:15.771041' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:17
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000292  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911577;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000284  Lock_time: 0.000104  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911577;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:16.771302' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000345  Lock_time: 0.000167  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911577;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:16.771953' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1082  Schema:   QC_hit: No
# Query_time: 0.000282  Lock_time: 0.000196  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911578;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1082  Schema:   QC_hit: No
# Query_time: 0.000269  Lock_time: 0.000164  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911578;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000214  Lock_time: 0.000096  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911578;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:17.768549' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:20
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000967  Lock_time: 0.000402  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911580;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:26:21
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000547  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911581;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:20.772684' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000510  Lock_time: 0.000119  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911581;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:20.772991' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:22
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000478  Lock_time: 0.000216  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911582;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001273  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911582;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:26:23
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1085  Schema:   QC_hit: No
# Query_time: 0.000140  Lock_time: 0.000098  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911583;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1085  Schema:   QC_hit: No
# Query_time: 0.000140  Lock_time: 0.000068  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911583;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000177  Lock_time: 0.000070  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911583;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:22.769564' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:24
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000253  Lock_time: 0.000086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911584;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:23.772242' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000386  Lock_time: 0.000109  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911584;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:23.770975' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:25
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000458  Lock_time: 0.000055  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911585;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000784  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911585;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:27
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000316  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911587;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:26.770187' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000715  Lock_time: 0.000591  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911587;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:26.769391' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1086  Schema:   QC_hit: No
# Query_time: 0.000727  Lock_time: 0.000633  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911588;
SELECT
		  page_size, compress_ops, 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.000134  Lock_time: 0.000095  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911588;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000247  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911588;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000248  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911588;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:27.768946' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:29
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000253  Lock_time: 0.000103  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911589;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:30
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001474  Lock_time: 0.001118  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911590;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000450  Lock_time: 0.000235  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911590;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:29.772014' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:31
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911591;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001441  Lock_time: 0.001294  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911591;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:30.768469' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:32
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000929  Lock_time: 0.000313  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911592;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:26:33
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1089  Schema:   QC_hit: No
# Query_time: 0.000141  Lock_time: 0.000092  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911593;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1089  Schema:   QC_hit: No
# Query_time: 0.000152  Lock_time: 0.000104  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911593;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000725  Lock_time: 0.000277  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911593;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:26:34
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000539  Lock_time: 0.000334  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911594;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:33.768647' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:35
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000421  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911595;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:34.775222' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:37
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000323  Lock_time: 0.000146  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911597;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:36.768482' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1090  Schema:   QC_hit: No
# Query_time: 0.000202  Lock_time: 0.000106  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911598;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1090  Schema:   QC_hit: No
# Query_time: 0.000241  Lock_time: 0.000160  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911598;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000474  Lock_time: 0.000273  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911598;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:37.771059' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:39
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000302  Lock_time: 0.000149  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911599;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:38.769031' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001137  Lock_time: 0.000708  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911599;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:26:40
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000594  Lock_time: 0.000177  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911600;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000371  Lock_time: 0.000115  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911600;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:39.769638' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:41
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000735  Lock_time: 0.000535  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911601;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:40.768694' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:42
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000362  Lock_time: 0.000208  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911602;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000866  Lock_time: 0.000742  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911602;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:41.768537' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:43
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1093  Schema:   QC_hit: No
# Query_time: 0.000175  Lock_time: 0.000107  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911603;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1093  Schema:   QC_hit: No
# Query_time: 0.000107  Lock_time: 0.000069  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911603;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# Time: 210501 23:26:44
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000444  Lock_time: 0.000200  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911604;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:43.043164' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000274  Lock_time: 0.000121  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911604;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000682  Lock_time: 0.000151  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911604;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000336  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911604;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:43.770918' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:45
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000436  Lock_time: 0.000077  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911605;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000130  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911605;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:44.771191' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:46
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001259  Lock_time: 0.001088  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911606;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000594  Lock_time: 0.000452  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911606;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:45.771037' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:47
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000303  Lock_time: 0.000092  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911607;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:46.771539' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:48
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1094  Schema:   QC_hit: No
# Query_time: 0.001455  Lock_time: 0.001357  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911608;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1094  Schema:   QC_hit: No
# Query_time: 0.000148  Lock_time: 0.000101  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911608;
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.4.107]
# Thread_id: 533  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=1619911608;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001330  Lock_time: 0.001160  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911608;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:47.771441' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:49
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001062  Lock_time: 0.000838  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911609;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:48.771425' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:50
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000640  Lock_time: 0.000188  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911610;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001601  Lock_time: 0.001331  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911610;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:49.771172' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001229  Lock_time: 0.000921  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911610;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:49.771852' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:51
# User@Host: so_user[so_user] @  [10.242.98.222]
# Thread_id: 465  Schema: camundabpmn  QC_hit: No
# Query_time: 0.001230  Lock_time: 0.000638  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 356
use camundabpmn;
SET timestamp=1619911611;
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-05-01 23:26:51.409'
      )
      and (RES.LOCK_OWNER_ is null or RES.LOCK_EXP_TIME_ < '2021-05-01 23:26:51.409')
      and RES.SUSPENSION_STATE_ = 1

       
        and (RES.DEPLOYMENT_ID_ is null
         
          or
           
           
           
     
     
	( RES.DEPLOYMENT_ID_ IN
	 (  
	  '5bf91847-aad1-11eb-9f20-e65e71e6bf1c'
	   
	 ) 
	)
   
   
         
        )
       

      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-05-01 23:26:51.409')  -- in progress
            )
   )
    or
     
    RES.EXCLUSIVE_ = 0
   
   )

       

     
    LIMIT 3 OFFSET 0;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000331  Lock_time: 0.000156  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
use vid_openecomp_epsdk;
SET timestamp=1619911611;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:50.768266' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:52
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000267  Lock_time: 0.000120  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911612;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000634  Lock_time: 0.000292  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911612;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:51.768619' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:53
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1097  Schema:   QC_hit: No
# Query_time: 0.000180  Lock_time: 0.000105  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911613;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1097  Schema:   QC_hit: No
# Query_time: 0.000109  Lock_time: 0.000068  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911613;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000309  Lock_time: 0.000166  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911613;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000337  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911613;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:52.768324' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:54
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001828  Lock_time: 0.001324  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911614;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000601  Lock_time: 0.000357  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911614;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:53.771574' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:55
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001406  Lock_time: 0.001179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911615;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:54.768664' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001462  Lock_time: 0.001179  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911615;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:54.768358' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:56
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001281  Lock_time: 0.001077  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911616;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:55.768812' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001333  Lock_time: 0.001050  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911616;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:55.768864' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:57
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001021  Lock_time: 0.000843  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911617;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:56.769182' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:26:58
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1098  Schema:   QC_hit: No
# Query_time: 0.000301  Lock_time: 0.000177  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911618;
SELECT
		  page_size, compress_ops, 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.000194  Lock_time: 0.000120  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911618;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000257  Lock_time: 0.000094  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911618;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:57.771138' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:27:00
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000116  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911620;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:26:59.769333' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:27:01
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000276  Lock_time: 0.000127  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911621;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:27:00.771196' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:27:02
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000823  Lock_time: 0.000681  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911622;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000268  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911622;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:27:01.769259' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:27:03
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1101  Schema:   QC_hit: No
# Query_time: 0.000347  Lock_time: 0.000296  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911623;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1101  Schema:   QC_hit: No
# Query_time: 0.000109  Lock_time: 0.000071  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911623;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000226  Lock_time: 0.000096  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911623;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:27:02.771193' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:27:04
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000144  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911624;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:27:03.771324' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:27:05
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000547  Lock_time: 0.000377  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911625;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000170  Lock_time: 0.000072  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911625;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:27:04.76826' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:27:06
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000485  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911626;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000255  Lock_time: 0.000139  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911626;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:27:05.773652' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:27:07
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000256  Lock_time: 0.000083  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911627;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000270  Lock_time: 0.000108  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911627;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:27:06.768891' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:27:08
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1102  Schema:   QC_hit: No
# Query_time: 0.000203  Lock_time: 0.000141  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911628;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1102  Schema:   QC_hit: No
# Query_time: 0.000125  Lock_time: 0.000083  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911628;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000273  Lock_time: 0.000143  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911628;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:27:07.768853' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:27:09
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000861  Lock_time: 0.000455  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911629;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:27:10
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000317  Lock_time: 0.000086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911630;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:27:09.768836' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:27:11
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000351  Lock_time: 0.000218  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911631;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:27:10.768632' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001383  Lock_time: 0.001041  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911631;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:27:12
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000375  Lock_time: 0.000161  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911632;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:27:11.768902' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:27:13
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1105  Schema:   QC_hit: No
# Query_time: 0.000228  Lock_time: 0.000163  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911633;
SELECT
                  page_size, buffer_pool_instance, pages_used, pages_free, relocation_ops, relocation_time
                  FROM information_schema.innodb_cmpmem;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1105  Schema:   QC_hit: No
# Query_time: 0.000149  Lock_time: 0.000108  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911633;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000514  Lock_time: 0.000158  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911633;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or 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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.010467  Lock_time: 0.010361  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911633;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:27:12.76895' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:27:14
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000217  Lock_time: 0.000084  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911634;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:27:13.76886' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000327  Lock_time: 0.000183  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911634;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:27:13.76865' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:27:15
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000304  Lock_time: 0.000181  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911635;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:27:14.768433' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:27:16
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000910  Lock_time: 0.000721  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911636;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:27:15.768962' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000907  Lock_time: 0.000788  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911636;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:27:15.768682' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:27:17
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000379  Lock_time: 0.000210  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911637;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000588  Lock_time: 0.000136  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911637;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:27:18
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1106  Schema:   QC_hit: No
# Query_time: 0.000269  Lock_time: 0.000191  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911638;
SELECT
		  page_size, compress_ops, 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.000165  Lock_time: 0.000120  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911638;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000270  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911638;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:27:17.769524' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:27:19
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000408  Lock_time: 0.000169  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911639;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000279  Lock_time: 0.000145  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911639;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:27:18.771246' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000293  Lock_time: 0.000140  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911639;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:27:18.771388' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:27:20
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000220  Lock_time: 0.000080  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911640;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:27:19.768345' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001091  Lock_time: 0.000494  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911640;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:27:21
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000249  Lock_time: 0.000102  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911641;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:27:20.770141' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000433  Lock_time: 0.000101  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911641;
select vid_job.* from VID_JOB left join 
 (select user_Id, 1 as has_any_in_progress_job from VID_JOB  where JOB_STATUS = 'IN_PROGRESS' or TAKEN_BY IS NOT NULL 
group by user_id)  users_have_any_in_progress_job_tbl
on vid_job.user_id = users_have_any_in_progress_job_tbl.user_id where     JOB_STATUS = 'PENDING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and (
select sum(CASE WHEN JOB_STATUS='IN_PROGRESS' or (JOB_STATUS='PENDING' and TAKEN_BY IS NOT NULL) THEN 1 ELSE 0 END) as in_progress
from VID_JOB ) <200 
 and TEMPLATE_Id not in 
(select TEMPLATE_Id from vid_job where   TEMPLATE_Id IS NOT NULL and(   (JOB_STATUS IN('FAILED','FAILED_AND_PAUSED') and DELETED_AT is null)   or JOB_STATUS='IN_PROGRESS'   or TAKEN_BY IS NOT NULL)) 
 order by has_any_in_progress_job, CREATED_DATE, INDEX_IN_BULK limit 1;
# Time: 210501 23:27:22
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000376  Lock_time: 0.000199  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911642;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:27:21.7709' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:27:23
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1109  Schema:   QC_hit: No
# Query_time: 0.000294  Lock_time: 0.000190  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911643;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1109  Schema:   QC_hit: No
# Query_time: 0.000171  Lock_time: 0.000088  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911643;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000704  Lock_time: 0.000353  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911643;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:27:22.768901' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001465  Lock_time: 0.000969  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911643;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:27:24
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000222  Lock_time: 0.000114  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911644;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:27:23.768651' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:27:25
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000182  Lock_time: 0.000064  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911645;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:27:24.768993' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:27:26
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001478  Lock_time: 0.001291  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911646;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:27:27
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000557  Lock_time: 0.000343  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911647;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:27:26.77151' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000544  Lock_time: 0.000420  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911647;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:27:26.77111' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:27:28
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1110  Schema:   QC_hit: No
# Query_time: 0.000193  Lock_time: 0.000111  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911648;
SELECT
		  page_size, compress_ops, 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.000315  Lock_time: 0.000192  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911648;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000298  Lock_time: 0.000141  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911648;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000505  Lock_time: 0.000361  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911648;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:27:27.768782' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:27:29
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000346  Lock_time: 0.000164  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911649;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:27:28.769127' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000414  Lock_time: 0.000100  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911649;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:27:28.768861' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:27:30
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000452  Lock_time: 0.000338  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911650;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:27:29.769258' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:27:31
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000217  Lock_time: 0.000079  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911651;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:27:30.768946' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:27:32
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000231  Lock_time: 0.000097  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911652;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001175  Lock_time: 0.001057  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911652;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:27:31.768483' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:27:33
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1113  Schema:   QC_hit: No
# Query_time: 0.000308  Lock_time: 0.000132  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 659
SET timestamp=1619911653;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1113  Schema:   QC_hit: No
# Query_time: 0.000236  Lock_time: 0.000155  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911653;
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.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001049  Lock_time: 0.000920  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911653;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:27:32.768646' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:27:34
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000253  Lock_time: 0.000106  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911654;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:27:33.771132' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:27:35
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000349  Lock_time: 0.000172  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911655;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:27:36
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000759  Lock_time: 0.000559  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911656;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:27:35.771697' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:27:37
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000230  Lock_time: 0.000090  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911657;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.001117  Lock_time: 0.000982  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911657;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:27:36.77007' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:27:38
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1114  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=1619911658;
SELECT
		  page_size, compress_ops, compress_ops_ok, compress_time, uncompress_ops, uncompress_time
		  FROM information_schema.innodb_cmp;
# User@Host: root[root] @  [127.0.0.1]
# Thread_id: 1114  Schema:   QC_hit: No
# Query_time: 0.000333  Lock_time: 0.000193  Rows_sent: 5  Rows_examined: 5
# Rows_affected: 0  Bytes_sent: 695
SET timestamp=1619911658;
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.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000236  Lock_time: 0.000098  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911658;
select * from VID_JOB where    JOB_STATUS = 'RESOURCE_IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:27:37.768393' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:27:39
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000229  Lock_time: 0.000110  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911659;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:27:38.771371' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:27:40
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000228  Lock_time: 0.000086  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911660;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000178  Lock_time: 0.000072  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911660;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:27:39.771045' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:27:41
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000183  Lock_time: 0.000070  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911661;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:27:40.770905' order by MODIFIED_DATE ASC limit 1;
# Time: 210501 23:27:42
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 533  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000197  Lock_time: 0.000070  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911662;
select * from VID_JOB where    JOB_STATUS = 'CREATING'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' order by MODIFIED_DATE ASC limit 1;
# User@Host: vidadmin[vidadmin] @  [10.242.4.107]
# Thread_id: 534  Schema: vid_openecomp_epsdk  QC_hit: No
# Query_time: 0.000169  Lock_time: 0.000070  Rows_sent: 0  Rows_examined: 0
# Rows_affected: 0  Bytes_sent: 1018
SET timestamp=1619911662;
select * from VID_JOB where    JOB_STATUS = 'IN_PROGRESS'    and TAKEN_BY is null    and DELETED_AT is null     and BUILD = '8.0.2..677' and MODIFIED_DATE <= '2021-05-01 23:27:41.76857' order by MODIFIED_DATE ASC limit 1;